New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃殌 Feature]: prefetching element properties #13929
Comments
@kin4stat, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
@kin4stat |
they are still making http request, which takes time to process(a little perfomance test above). As i understand, these requests are not handled directly, they are placed to queue, and then worker thread processes this queue(inside chromium) |
My intention was to show an option to speed up your script, without waiting for a new feature. New features might take some time, especially when all drivers would need to implement them. |
Maybe i would help with implementation inside chromium, for example, but i dont know, if the changes would be approved, because as i see, findelements is standardised in the w3c protocol |
Hi, @kin4stat. Please create an issue with the WebDriver project. Feel free to comment on the issues that you raise back in this issue. Thank you. |
Feature and motivation
For now, if you want to get any of element properties, selenium will send command to get this property which can take a lot of time, if you are processing a lot of elements:
I think it would be useful to be able to prefetch some element properties to make processing it faster.
Usage example
or
The text was updated successfully, but these errors were encountered: