diff --git a/rb/spec/integration/selenium/webdriver/driver_spec.rb b/rb/spec/integration/selenium/webdriver/driver_spec.rb index e478e66d88678..623303445705c 100644 --- a/rb/spec/integration/selenium/webdriver/driver_spec.rb +++ b/rb/spec/integration/selenium/webdriver/driver_spec.rb @@ -148,8 +148,9 @@ module WebDriver end it 'raises if invalid locator', - exclude: {browser: %i[safari safari_preview chrome edge], - reason: 'Safari TimeoutError + https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743'} do + except: {browser: %i[chrome edge], + reason: 'https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743'}, + exclude: {browser: %i[safari safari_preview], reason: 'Safari TimeoutError'} do driver.navigate.to url_for('xhtmlTest.html') expect { driver.find_element(xpath: '*?//-')