Thanks Andrew! You learn something new everyday! On Friday, May 10, 2013 11:58:31 AM UTC-4, Andrew Leaf wrote: > > > > On Thursday, May 9, 2013 8:54:19 PM UTC-5, Dan wrote: >> >> Secondly, your syntax for starting a browser is incorrect. It should be >> .new not .start. >> browser = Watir::Browser.new :chrome >> > > Hello Dan, > > I just wanted to clarify that is valid Watir code. > > browser = Watir::Browser.start "http://localhost:8080/admin/index.php/login" > > This is valid Watir code. Calling Watir::Browser.start with a URL as an > argument is the same as: > > browser = Watir::Browser.new > > browser.goto "browser "http://localhost:8080/admin/index.php/login" > > You may need to dismiss the modal by clicking on whichever element dismisses > the modal for the user. Without page HTML when the modal is visible and an > indication of which line is giving the failure in your Watir code, it's > difficult to provide any further guidance. > > If you have HTML available, paste it in so we can further troubleshoot. > > Andrew > >
-- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
