Replies: 5 comments 46 replies
-
|
I quickly read it and wow, that's a lot of text! Just one thing: you seem to suggest the explicit waits while I always use a SetImplicitlyWait instead when needed, so that it waits just the time needed for the element to appear. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I have been using selenium basic for a long time, however i needed recently to inject custom js script before page load entirely, which the basic is cant do it. Need to use CPD for that, selenium wire, selenium 4 give that functionallity however i need it in VBA environment. Here your solution came to assist. I was just rewriting all objects from selenium basic syntax, when recieved Interface not supported. |
Beta Was this translation helpful? Give feedback.
-
|
The standard modules contain a lot of sample code that is useful in practice, so it might be a good idea to introduce it on the Wiki. |
Beta Was this translation helpful? Give feedback.
-
|
Since you have a 64-bit version of office installed, why not try SeleniumVBA_prior_to_2508.xlsm to see if that works on your system. Doesn't solve your DLL problem directly, but maybe we can glean some insight with that? |
Beta Was this translation helpful? Give feedback.
-
|
As explained by Gemini, the reason why the deprecated This phenomenon, which occurs when using the Chrome DevTools Protocol (CDP) in Selenium's classic mode (based on the traditional WebDriver standard HTTP communication), stems from a difference in the "scope" of the CDP connection established by Selenium. In conclusion, Selenium's Below is a detailed explanation of the technical background and reasons. 1. Differences in Connection TargetsCDP has a concept called "Target," which determines where commands are received.
Selenium's Mechanism: When Selenium WebDriver launches Chrome and sends CDP commands, by default, it tunnels a WebSocket connection to the "specific session currently being operated (i.e., a specific Tab/Page)."
2. Why the Recommended Version Cannot Be Used (Technical Details)Chromium documentation lists In Selenium's architecture, the following mismatch occurs:
To use 3. Future Outlook and RecommendationsAs long as you continue to use Selenium's classic mode, the correct approach is to temporarily ignore the "Deprecated" label in the CDP documentation and use The Google Chrome team understands that tools like Selenium operate at the Page scope, so it is considered unlikely that commands in the Future Options (Selenium 4 and later) If you wish to perform more modern and correct CDP control, you need to use Selenium BiDi (Bidirectional) features.
Summary
|
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A very rough (and incomplete!) first draft of Wiki Help page is online here. Have something to share on the Wiki? Or a suggested change? Use this discussion to provide your input, and we will try to incorporate it!
Beta Was this translation helpful? Give feedback.
All reactions