Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98807

How to not wait for page load in ChromeDriver in C#?

$
0
0

I'm trying to read some values from a bunch of URLs. These values exist on the page when the page is not fully loaded. However, ChromeDriver waits for the page to fully load. I searched and found out that DesiredCapabilities can be used to set the IWebDriver to not wait for full page load.

However, I can't find that class in C#, and the examples are written for python and other IWebDrivers, like IE and Firefox.

How can I instruct ChromeDriver not to wait for full page load in C#?

Update :

As I mentioned in my question, I've already seen those questions. I have two problems though:

1) They are not for C#, and in C# I can't find DesiredCapabilities class, thus I can't pass that parameter. All I find is ReadOnlyDesiredCapabilities class, and one ICapabilities interface. And I don't know how to use them.

2) They are not written for ChromeDriver and C#. They are for Java, Python, and other IWebDrivers. So, those Q&A don't help me.

Please reopen this question so that I can get help from the community.


Viewing all articles
Browse latest Browse all 98807


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>