[wtr-general] Re: Unable to use API Locators using Watir 6.8.4

2017-11-29 Thread Jeff Fagot
Obviously, you are right! I was creating @b as follow: @b = Selenium::WebDriver.for : I have no prior history of development or anything, just started with WATIR 1month ago...so my apology for being confused by SELENIUM vs WATIR specifics. *UPDATED RESULT*: I went back to my login screen and fi

[wtr-general] Re: Unable to use API Locators using Watir 6.8.4

2017-11-29 Thread Jeff Fagot
I just found this post, which may be a duplicate of mine as I was under an iframe --> https://groups.google.com/forum/#!topic/watir-general/NEHQIQgOX-o I will go through it and update if I can confirm or not. Regards, Jeff Fagot On Wednesday, November 29, 2017 at 3:45:21 PM UTC-5, Jeff Fagot wro

[wtr-general] Re: Unable to use API Locators using Watir 6.8.4

2017-11-29 Thread Justin Ko
How did you define `@b`? Based on the exception and behaviours you are seeing, it sounds like you've created a Selenium::WebDriver instead of a Watir::Browser. The initialization should be like: @b = Watir::Browser.new - Justin On Wednesday, November 29, 2017 at 3:45:21 PM UTC-5, Jeff Fagot

[wtr-general] Unable to use API Locators using Watir 6.8.4

2017-11-29 Thread Jeff Fagot
Hello all, As a new user, I find myself using online posts to make progress and discoveries on things I ignore. Based on various posts I found out about the existence of the "API Locators" such as .div(s) or .span(s)...etc Even if I am still wondering about their usage after reading about this