.. java:import:: java.net URL .. java:import:: java.util Optional .. java:import:: org.openqa.selenium.remote Augmentable .. java:import:: org.openqa.selenium.remote RemoteWebDriver .. java:import:: ru.bitec.gs.automation.client.login LoginStrategy .. java:import:: ru.bitec.gs.automation.client.logout LogoutStrategy .. java:import:: ru.bitec.gs.automation.client.ui Application .. java:import:: ru.bitec.gs.automation.exception AutomationException .. java:import:: ru.bitec.gs.automation.security Credentials .. java:import:: ru.bitec.gs.automation.security UserPassword .. java:import:: ru.bitec.gs.automation.services Services ClientImpl ========== .. java:package:: ru.bitec.gs.automation.client :noindex: .. java:type:: class ClientImpl implements Client Реализация клиента, независимого от конкретной реализации браузера. Constructors ------------ ClientImpl ^^^^^^^^^^ .. java:constructor:: ClientImpl(RemoteWebDriver remoteWebDriver, URL url, LoginStrategy loginStrategy, LogoutStrategy logoutStrategy) :outertype: ClientImpl Methods ------- close ^^^^^ .. java:method:: @Override public void close() :outertype: ClientImpl getAdminCredentials ^^^^^^^^^^^^^^^^^^^ .. java:method:: Credentials getAdminCredentials() :outertype: ClientImpl Возвращает учётные данные административного пользователя. Используются при обращениях к системным сервисам сервера. Значение свойства не является обязательным, по-этому не включено в число аргументов конструктора. :return: Учётные данные. getApplicationName ^^^^^^^^^^^^^^^^^^ .. java:method:: @Override public String getApplicationName() :outertype: ClientImpl getLoginStrategy ^^^^^^^^^^^^^^^^ .. java:method:: public LoginStrategy getLoginStrategy() :outertype: ClientImpl Возвращает ссылку на текущую стратегию входа в систему. :return: стратегия входа getLogoutStrategy ^^^^^^^^^^^^^^^^^ .. java:method:: public LogoutStrategy getLogoutStrategy() :outertype: ClientImpl Возвращает ссылку на текущую стратегию выхода из системы. :return: стратегия выхода getRemoteWebDriver ^^^^^^^^^^^^^^^^^^ .. java:method:: public RemoteWebDriver getRemoteWebDriver() :outertype: ClientImpl getStartupFormName ^^^^^^^^^^^^^^^^^^ .. java:method:: @Override public Optional getStartupFormName() :outertype: ClientImpl getUrl ^^^^^^ .. java:method:: public URL getUrl() :outertype: ClientImpl isLoggedIn ^^^^^^^^^^ .. java:method:: public boolean isLoggedIn() :outertype: ClientImpl login ^^^^^ .. java:method:: @Override public Application login() :outertype: ClientImpl logout ^^^^^^ .. java:method:: @Override public void logout() :outertype: ClientImpl services ^^^^^^^^ .. java:method:: @Override public Services services() :outertype: ClientImpl setAdminCredentials ^^^^^^^^^^^^^^^^^^^ .. java:method:: ClientImpl setAdminCredentials(UserPassword adminCredentials) :outertype: ClientImpl Устанавливает значение свойства :java:ref:`getAdminCredentials() `. :param adminCredentials: Учётные данные. :return: текущий экземпляр