Skip to content

Is PageLoadStrategy implemented ? #95

Closed Answered by GCuser99
Pat075 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Pat075,

Yes, SeleniumVBA let's you do just about anything when it comes to setting browser options/capabilities. We don't yet have a specific high-level command for setting that particular option, but if you can provide a complete use case, we will consider adding that command. In the meantime, here is how you would change the page load strategy from "normal" (default) to "eager" or "none" using the WebCapabilities object:

Sub test_pageLoadStrategy()
    Dim driver As WebDriver
    Dim caps As WebCapabilities

    Set driver = New WebDriver
    
    driver.StartChrome
    
    'note that WebCapabilities object should be created after starting the driver (StartEdge, StartChrome, of Sta…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Pat075
Comment options

Answer selected by Pat075
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants