Class BrowsingContext

java.lang.Object
org.openqa.selenium.bidi.browsingcontext.BrowsingContext

public class BrowsingContext extends Object
  • Field Details

    • LIST_OF_BROWSING_CONTEXT_INFO

      protected static final Type LIST_OF_BROWSING_CONTEXT_INFO
  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • getTree

      public List<BrowsingContextInfo> getTree()
    • getTree

      public List<BrowsingContextInfo> getTree(int maxDepth)
    • getTopLevelContexts

      public List<BrowsingContextInfo> getTopLevelContexts()
    • reload

      public NavigationResult reload()
    • reload

      public NavigationResult reload(ReadinessState readinessState)
    • handleUserPrompt

      public void handleUserPrompt()
    • handleUserPrompt

      public void handleUserPrompt(boolean accept)
    • handleUserPrompt

      public void handleUserPrompt(String userText)
    • handleUserPrompt

      public void handleUserPrompt(boolean accept, String userText)
    • captureScreenshot

      public String captureScreenshot()
    • captureBoxScreenshot

      public String captureBoxScreenshot(double x, double y, double width, double height)
    • captureElementScreenshot

      public String captureElementScreenshot(String elementId)
    • captureElementScreenshot

      public String captureElementScreenshot(String elementId, boolean scrollIntoView)
    • setViewport

      public void setViewport(double width, double height)
    • setViewport

      public void setViewport(double width, double height, double devicePixelRatio)
    • activate

      public void activate()
    • print

      public String print(PrintOptions printOptions)
    • traverseHistory

      public void traverseHistory(long delta)
    • back

      public void back()
    • forward

      public void forward()
    • locateNodes

      public List<RemoteValue> locateNodes(LocateNodeParameters parameters)
    • locateNodes

      public List<RemoteValue> locateNodes(Locator locator)
    • locateNode

      public RemoteValue locateNode(Locator locator)
    • close

      public void close()