Uses of Class
com.shaft.gui.browser.BrowserActions
Packages that use BrowserActions
-
Uses of BrowserActions in com.shaft.driver
Methods in com.shaft.driver that return BrowserActions -
Uses of BrowserActions in com.shaft.driver.internal
Methods in com.shaft.driver.internal that return BrowserActionsModifier and TypeMethodDescriptionFluentWebDriverAction.browser()
FluentWebDriverAction.performBrowserAction()
-
Uses of BrowserActions in com.shaft.gui.browser
Methods in com.shaft.gui.browser that return BrowserActionsModifier and TypeMethodDescriptionAdds a cookie to the current browsing context.BrowserActions.and()
BrowserActions.capturePageSnapshot()
Attempts to capture a page snapshot archive in the format of a .mht file Works only for Chromium based driver instances For other driver types attempts to attach the current page source (for web) or accessibility tree (for mobile)BrowserActions.captureScreenshot()
Use this action to return a full page screenshot.BrowserActions.captureScreenshot
(Screenshots type) Use this action to return a page screenshot.BrowserActions.captureSnapshot()
Use this action to return a page snapshot.BrowserActions.deleteAllCookies()
Deletes all the cookies of the current browsing context.BrowserActions.deleteCookie
(String cookieName) Deletes the cookie data matching with the provided cookie name for the current browsing context.BrowserActions.fullScreenWindow()
Resize the window to fill the current screenBrowserActions.intercept
(Predicate<org.openqa.selenium.remote.http.HttpRequest> requestPredicate, org.openqa.selenium.remote.http.HttpResponse mockedResponse) BrowserActions.maximizeWindow()
Maximizes current window size based on screen size minus 5%BrowserActions.mock
(Predicate<org.openqa.selenium.remote.http.HttpRequest> requestPredicate, org.openqa.selenium.remote.http.HttpResponse mockedResponse) BrowserActions.navigateBack()
Navigates one step back from the browsers historyBrowserActions.navigateForward()
Navigates one step forward from the browsers historyBrowserActions.navigateToURL
(String targetUrl) Navigates to targetUrl in case the current URL is different, else refreshes the current pageBrowserActions.navigateToURL
(String targetUrl, String targetUrlAfterRedirection) Navigates to targetUrl in case the current URL is different, else refreshes the current page.BrowserActions.navigateToURL
(String targetUrl, org.openqa.selenium.WindowType windowType) BrowserActions.navigateToURLWithBasicAuthentication
(String targetUrl, String username, String password, String targetUrlAfterAuthentication) Navigates to targetUrl using basic authentication in case the current URL is different, else refreshes the current page.BrowserActions.refreshCurrentPage()
Attempts to refresh the current pageBrowserActions.setContext
(String context) Switches focus to another contextBrowserActions.setWindowSize
(int width, int height) Resizes the current window size based on the provided width and heightBrowserActions.switchToWindow
(String nameOrHandle) Switches focus to another windowBrowserActions.waitForLazyLoading()
BrowserActions.waitUntilNumberOfWindowsToBe
(int expectedNumberOfWindows) Deprecated, for removal: This API element is subject to removal in a future version.BrowserActions.waitUntilTitleContains
(String title) Deprecated, for removal: This API element is subject to removal in a future version.BrowserActions.waitUntilTitleIs
(String title) Deprecated, for removal: This API element is subject to removal in a future version.BrowserActions.waitUntilTitleNotContains
(String title) Deprecated, for removal: This API element is subject to removal in a future version.BrowserActions.waitUntilUrlContains
(String url) Deprecated, for removal: This API element is subject to removal in a future version.BrowserActions.waitUntilUrlMatches
(String urlRegex) Deprecated, for removal: This API element is subject to removal in a future version.BrowserActions.waitUntilUrlNotContains
(String url) Deprecated, for removal: This API element is subject to removal in a future version.BrowserActions.waitUntilUrlNotToBe
(String url) Deprecated, for removal: This API element is subject to removal in a future version.BrowserActions.waitUntilUrlToBe
(String url) Deprecated, for removal: This API element is subject to removal in a future version.