Uses of Class
io.webfolder.cdp.session.Session

Packages that use Session 
Package Description
io.webfolder.cdp.session  
  • Uses of Session in io.webfolder.cdp.session

    Methods in io.webfolder.cdp.session that return Session 
    Modifier and Type Method Description
    default Session Navigator.back()
    Returns the window to the previous item in the history.
    default Session Dom.clearOptions​(java.lang.String selector)
    Clears any existing selected items of <select> element.
    default Session Dom.clearOptions​(java.lang.String selector, java.lang.Object... args)
    Clears any existing selected items of <select> element.
    default Session Mouse.click​(java.lang.String selector)
    Click on the specified element.
    default Session Mouse.click​(java.lang.String selector, java.lang.Object... args)
    Click on the specified element.
    Session SessionFactory.connect​(java.lang.String targetId)  
    Session SessionFactory.create()  
    Session SessionFactory.create​(SessionSettings sessionSettings)  
    Session SessionFactory.create​(java.lang.String browserContextId)  
    Session SessionFactory.create​(java.lang.String browserContextId, SessionSettings sessionSettings)  
    Session Session.enableConsoleLog()
    Redirects javascript console logs to slf4j
    Session Session.enableDetailLog()
    Redirects runtime logs (network, security, storage etc..) to slf4j
    Session Session.enableNetworkLog()
    Redirects network logs to slf4j
    default Session Dom.focus​(java.lang.Integer contextId, java.lang.String selector)
    The HTMLElement.focus() method sets focus on the specified element, if it can be focused.
    default Session Dom.focus​(java.lang.Integer contextId, java.lang.String selector, java.lang.Object... args)
    The HTMLElement.focus() method sets focus on the specified element, if it can be focused.
    default Session Dom.focus​(java.lang.String selector)
    The HTMLElement.focus() method sets focus on the specified element, if it can be focused.
    default Session Navigator.forward()
    Moves the window one document forward in the history
    Session Dom.getThis()  
    Session JavaScript.getThis()  
    Session Keyboard.getThis()  
    Session Mouse.getThis()  
    Session Navigator.getThis()  
    Session Selector.getThis()  
    Session Session.getThis()  
    default Session Mouse.move​(double x, double y)
    Dispatches a mousemove event.
    Session Session.navigate​(java.lang.String url)  
    Session Session.navigateAndWait​(java.lang.String url, WaitUntil condition)  
    Session Session.navigateAndWait​(java.lang.String url, WaitUntil condition, int timeout)  
    default Session Selector.releaseObject​(java.lang.String objectId)  
    default Session Navigator.reload()
    This method reloads the resource from the current URL.
    default Session Dom.selectInputText​(java.lang.String selector)
    The HTMLInputElement.select() method selects all the text in a <textarea> element
    or an <input> element with a text field.
    default Session Dom.selectInputText​(java.lang.String selector, java.lang.Object... args)
    The HTMLInputElement.select() method selects all the text in a <textarea> element
    or an <input> element with a text field.
    default Session Keyboard.sendBackspace()
    Use this method to simulate typing BACKSPACE key.
    default Session Keyboard.sendDownArrow()
    Use this method to simulate typing DOWN_ARROW key.
    default Session Keyboard.sendEnter()
    Use this method to simulate typing ENTER key.
    default Session Keyboard.sendEsc()
    Use this method to simulate typing ESC key.
    default Session Keyboard.sendKeyCode​(int keyCode)
    Use this method to simulate typing unicode value of keyboard key.
    default Session Keyboard.sendKeys​(java.lang.String text)
    Use this method to simulate typing into an element, which may set its value.
    default Session Keyboard.sendLeftArrow()
    Use this method to simulate typing LEFT_ARROW key.
    default Session Keyboard.sendRightArrow()
    Use this method to simulate typing RIGHT_ARROW key.
    default Session Keyboard.sendTab()
    Use this method to simulate typing TAB key.
    default Session Keyboard.sendUpArrow()
    Use this method to simulate typing UP_ARROW key.
    default Session Dom.setAttribute​(java.lang.Integer contextId, java.lang.String selector, java.lang.String name, java.lang.Object value, java.lang.Object... args)
    Sets attribute for an element
    default Session Dom.setAttribute​(java.lang.String selector, java.lang.String name, java.lang.Object value)
    Sets attribute for an element
    default Session Dom.setAttribute​(java.lang.String selector, java.lang.String name, java.lang.Object value, java.lang.Object... args)
    Sets attribute for an element
    default Session Dom.setChecked​(java.lang.String selector, boolean checked)
    Sets the value of the checked property.
    default Session Dom.setChecked​(java.lang.String selector, boolean checked, java.lang.Object... args)
    Sets the value of the checked property.
    default Session Dom.setDisabled​(java.lang.String selector, boolean disabled)
    Sets the value of the disabled property.
    default Session Dom.setDisabled​(java.lang.String selector, boolean disabled, java.lang.Object... args)
    Sets the value of the disabled property.
    default Session Dom.setFiles​(java.lang.String selector, java.lang.String... files)
    Sets files for the given file input element.
    default Session Dom.setFiles​(java.lang.String selector, java.nio.file.Path... files)
    Sets files for the given file input element.
    default Session Dom.setSelectedIndex​(java.lang.String selector, int index)
    Set selectedIndex of <option> element.
    default Session Dom.setSelectedIndex​(java.lang.String selector, int index, java.lang.Object... args)
    Set selectedIndex of <option> element.
    default Session Dom.setSelectedOptions​(java.lang.String selector, java.util.List<java.lang.Integer> indexes)
    Set selected indices of <select> element.
    default Session Dom.setSelectedOptions​(java.lang.String selector, java.util.List<java.lang.Integer> indexes, java.lang.Object... args)
    Set selected indices of <select> element.
    default Session Navigator.setUserAgent​(java.lang.String userAgent)
    Allows overriding user agent with the given string.
    default Session Dom.setValue​(java.lang.String selector, java.lang.Object value)
    Sets the value of the <input> input control.
    default Session Dom.setValue​(java.lang.String selector, java.lang.Object value, java.lang.Object... args)
    Sets the value of the <input> control.
    default Session Navigator.stop()
    This method stops window loading.
    Session Session.wait​(int timeout)
    Causes the current thread to wait until waiting time elapses.
    Session Session.wait​(int timeout, boolean log)
    Causes the current thread to wait until waiting time elapses.
    Session Session.waitDocumentReady()
    waits until document is ready
    Session Session.waitDocumentReady​(int timeout)
    waits until document is ready
    Method parameters in io.webfolder.cdp.session with type arguments of type Session 
    Modifier and Type Method Description
    boolean Session.waitUntil​(java.util.function.Predicate<Session> predicate)  
    boolean Session.waitUntil​(java.util.function.Predicate<Session> predicate, int timeout)  
    boolean Session.waitUntil​(java.util.function.Predicate<Session> predicate, int timeout, int period)  
    boolean Session.waitUntil​(java.util.function.Predicate<Session> predicate, int timeout, int period, boolean log)  
    Constructors in io.webfolder.cdp.session with parameters of type Session 
    Constructor Description
    Command​(Session session)