Module: PageObject
- Defined in:
- lib/angular_page_object/fix_watir_find_by_css.rb,
lib/angular_page_object/add_angular_visit.rb
Overview
Defined Under Namespace
Modules: Platforms
Instance Method Summary collapse
- #protractor ⇒ Object
-
#visit ⇒ Object
Visit the website and then wait for angular to finish loading This is different from goto which will not wait for angular.
Instance Method Details
#protractor ⇒ Object
2 3 4 |
# File 'lib/angular_page_object/add_angular_visit.rb', line 2 def protractor @protractor ||= ::Protractor.new(driver: browser) end |
#visit ⇒ Object
Visit the website and then wait for angular to finish loading This is different from goto which will not wait for angular.
8 9 10 11 |
# File 'lib/angular_page_object/add_angular_visit.rb', line 8 def visit goto # uses page_url wait(timeout: 60) { protractor.waitForAngular } end |