We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf68a2b commit 4c5da8eCopy full SHA for 4c5da8e
tests/Custom/SeleniumSupportTest.php
@@ -27,8 +27,15 @@ public function testThatRightClickingCannotBeUsedInUnsupportedSelenium(): void
27
}
28
29
$this->expectException(DriverException::class);
30
- $this->expectExceptionMessage('This driver requires Selenium version 3 or lower');
+ $this->expectExceptionMessage(<<<TEXT
31
+Right-clicking via JsonWireProtocol is not possible on Selenium Server 3.x.
32
+
33
+Please use the "mink/webdriver-classic-driver" Mink driver or switch to Selenium Server 2.x.
34
+TEXT
35
+ );
36
- $this->createDriver()->rightClick('//');
37
+ $driver = $this->createDriver();
38
+ $driver->start();
39
+ $driver->rightClick('//');
40
41
0 commit comments