NassauSky Posted September 16, 2023 Posted September 16, 2023 I just noticed @Danp2's thread was shutdown. Anyone have an idea what the difference is in the click command in the following 2 functions _WD_ElementAction($sSession, $sElement, 'hover') _WD_ElementActionEx($sSession, $sElement, 'hover') Thanks
Danp2 Posted September 16, 2023 Posted September 16, 2023 Hi... your post is confusing because you mentioned "click", but then used "hover" in the posted code. I assume that you meant to use "click" in the code. The click command in _WD_ElementAction performs the default click functionality as defined in the Webdriver specs. The click command in _WD_ElementActionEx differs in the following ways -- Uses "actions" to perform the mouse click (pointer down followed by pointer up) Allows control of which button is clicked (left, middle, right) HTH, Dan NassauSky 1 Latest Webdriver UDF Release Webdriver Wiki FAQs
NassauSky Posted September 16, 2023 Author Posted September 16, 2023 Thanks @Danp2 I apologize, you are correct, I copied the wrong part of code. Here is what it should have read _WD_ElementAction($sSession, $sElement, 'click') vs _WD_ElementActionEx($sSession, $sElement, 'click') Thanks i saw the extra parameters to the extended function and thanks for the clarity.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now