diff options
author | catch <6915-catch@users.noreply.drupalcode.org> | 2024-07-24 17:40:15 +0900 |
---|---|---|
committer | catch <6915-catch@users.noreply.drupalcode.org> | 2024-07-24 17:40:15 +0900 |
commit | 9eb4cb9d5b377f51e237ca2c3f71ab67d8fc6f7d (patch) | |
tree | 4a4d2488f55fcc206fc91f7858f2aaa048b761c4 /core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php | |
parent | 24b7c3ffa3a759d7b6b19e847400023f2e1615d6 (diff) | |
download | drupal-9eb4cb9d5b377f51e237ca2c3f71ab67d8fc6f7d.tar.gz drupal-9eb4cb9d5b377f51e237ca2c3f71ab67d8fc6f7d.zip |
Issue #3421202 by alexpott, longwave, andypost, justafish: Enable W3C-compliant webdriver testing
Diffstat (limited to 'core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php')
-rw-r--r-- | core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php b/core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php index 163a98e247be..a047196b0fd9 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php @@ -141,8 +141,8 @@ JS; $session->visit($url); // There are 2 alerts to accept before we can get the content of the page. - $session->getDriver()->getWebdriverSession()->accept_alert(); - $session->getDriver()->getWebdriverSession()->accept_alert(); + $session->getDriver()->getWebdriverSession()->alert()->accept(); + $session->getDriver()->getWebdriverSession()->alert()->accept(); $out = $session->getPage()->getContent(); |