Uses of Class
com.shaft.gui.browser.BrowserActions
Packages that use BrowserActions
Package
Description
-
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) Intercepts outgoing HTTP requests matching the given predicate and substitutes the real network response with the providedHttpResponse.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) Intercepts outgoing HTTP requests matching the given predicate and replaces the actual network response with the providedHttpResponse.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) Navigates to the specified URL by opening it in a new browser tab or a new browser window, depending on the providedWindowType.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()Waits for the page to finish lazy-loading by polling JavaScript readiness conditions.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. -
Uses of BrowserActions in com.shaft.validation.accessibility
Methods in com.shaft.validation.accessibility that return BrowserActionsModifier and TypeMethodDescriptionAccessibilityActions.backToBrowser()Returns theBrowserActionsinstance that was used to create thisAccessibilityActions, enabling fluent chaining back into browser-level operations.Constructors in com.shaft.validation.accessibility with parameters of type BrowserActionsModifierConstructorDescriptionAccessibilityActions(org.openqa.selenium.WebDriver rawDriver, BrowserActions browserActions) Constructs anAccessibilityActionsinstance backed by the supplied rawWebDriverand the caller'sBrowserActionscontext.