Module: EhbrsRubyUtils::Bga::Session::CookiesConsent
- Defined in:
- lib/ehbrs_ruby_utils/bga/session/cookies_consent.rb
Constant Summary collapse
- REJECT_ALL_BUTTON_SELECTOR =
{ id: 'didomi-notice-disagree-button' }.freeze
- REJECT_ALL_BUTTON_TIMEOUT =
5
Instance Method Summary collapse
Instance Method Details
#dismiss_cookies_banner ⇒ void
This method returns an undefined value.
11 12 13 14 15 |
# File 'lib/ehbrs_ruby_utils/bga/session/cookies_consent.rb', line 11 def wait_for_click(REJECT_ALL_BUTTON_SELECTOR, REJECT_ALL_BUTTON_TIMEOUT) rescue ::Selenium::WebDriver::Error::TimeoutError nil end |