If you've set marionette to false you are using the legacy Firefox driver
and not geckodriver.

You'll need to provide more information for us to be able to diagnose your
issue. What code are you using on what html? Often it is useful to check if
your code works with chrome.


On Mar 6, 2017 2:33 AM, "Raja gopalan" <rajagopalanib...@gmail.com> wrote:

Yeah it works now, the code I have written below, but geckodriver is not
selecting a select list which is being selected right now after I have made
this change. What might be the problem? Is it the problem in the
geckodriver?

caps = Selenium::WebDriver::Remote::Capabilities.firefox(marionette: false)


b=Watir::Browser.new :firefox, desired_capabilities: caps



On Monday, 6 March 2017 13:08:14 UTC+5:30, Titus Fortner wrote:

> You need to pass in a Capabilities object with marionette: false for
> Firefox less than 48.
>
> On Mar 6, 2017 1:19 AM, "Raja gopalan" <rajagopa...@gmail.com> wrote:
>
>> I am trying to automate the firefox browser which is lower than 45 that
>> is 38, but it's throwing this error
>>
>> C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.2.1/
>> lib/selenium/webdriver/remote/response.rb:69:in `assert_ok': Missing
>> 'marionetteProtocol' field in handshake (Selenium::WebDriver::Error::U
>> nknownError)
>>
>> Is it possible to driver the browser using WATIR 6.2
>>
>> --
>> --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> watir-...@googlegroups.com
>> http://groups.google.com/group/watir-general
>> watir-genera...@googlegroups.com
>>
>>
>> ---
>> 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 watir-genera...@googlegroups.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
-- 
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

---
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 watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
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 watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to