Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use javascript queries within seleniumwrapper vba code #31

Open
GoogleCodeExporter opened this issue Mar 31, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Operating system :
.Net Framework version :
Office Version : 2010
SeleniumWrapper version :latest

What is your issue ?

Hello , 

I would like to know if it would be possible to use javascript within 
seleniumwrapper , is this possible ?
Thaks

Original issue reported on code.google.com by [email protected] on 14 Oct 2013 at 12:19

@GoogleCodeExporter
Copy link
Author

Yes you can execute some JavaScript code from the driver:
driver.executeScript "alert('Hello world!');"

If you are referring to JQuery to select elements, I recommend you to use the 
driver.findElementByCssSelector and to read this page about CSS selectors :
http://sauceio.com/index.php/2010/01/selenium-totw-css-selectors-in-selenium-dem
ystified

Original comment by florentbr on 14 Oct 2013 at 2:31

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by florentbr on 8 Sep 2014 at 5:40

  • Changed state: Done
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant