Hi Titus,

I started using your gem 'watir_angular'.

I have written the following code


b.button(name: 'note-menubutton').click
WatirAngular.wait_for_angular(b)



But this line `WatirAngular.wait_for_angular(b)` is throwing this error


Uncaught exception: Timed out after 30000 ms
        WebDriverError@chrome://marionette/content/error.js:179:5
        ScriptTimeoutError@chrome://marionette/content/error.js:419:5
        
evaluate.sandbox/timeoutPromise</scriptTimeoutID<@chrome://marionette/content/evaluate.js:101:16
        notify@resource://gre/modules/Timer.jsm:43:17
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/response.rb:72:in
 `assert_ok'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/response.rb:34:in
 `initialize'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/http/common.rb:88:in
 `new'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/http/common.rb:88:in
 `create_response'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/http/default.rb:114:in
 `request'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/http/common.rb:64:in
 `call'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/bridge.rb:167:in
 `execute'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/w3c/bridge.rb:567:in
 `execute'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/w3c/bridge.rb:310:in
 `execute_async_script'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/driver.rb:232:in
 `execute_async_script'
        
C:/Ruby26/lib/ruby/gems/2.6.0/gems/watir_angular-0.4.1/lib/watir_angular.rb:13:in
 `wait_for_angular'
        C:/A/StingRay/AppData/example.rb:18:in `<top (required)>'


Do you have any idea as to why?

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/59156fb2-9e8a-441f-944c-5b70d280cb18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to