Wait until page loads operation in Playwright

I want to use the wait for navigation keyword from RPA.Browser.Playwright to wait until the page loads. But it is asking me for an URL. I am just doing an operation and wait until the page loads to do another operation. Is there any way to achieve this??

I see you got help from kapa bot in slack. Did its approach solved your issue?

It seems that the Wait For Navigation keyword requires a URL as a mandatory argument. 
In this case, you can use the Wait Until Network Is Idle keyword instead, 
which doesn't require a URL and waits for the network to be idle before proceeding.
Here's an example of how to use the Wait Until Network Is Idle keyword:

Go To ${{ROOT_URL}}/redirector.html
Wait Until Network Is Idle

In this example, the keyword will wait for the network 
to be idle after navigating to ${{ROOT_URL}}/redirector.html. 
You can find more information about the 
Wait Until Network Is Idle keyword in the documentation.

I did run that solution with a lil input. It worked fine. A larger input file is running now. Yet to check if it is working fine

1 Like

Update: It works fine

1 Like