File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ public function setJavascriptEnabled($enabled)
145145 $ browser = $ this ->getBrowserName ();
146146 if ($ browser && $ browser !== WebDriverBrowserType::HTMLUNIT ) {
147147 throw new Exception (
148- 'isJavascriptEnable () is a htmlunit-only option. ' .
148+ 'isJavascriptEnabled () is a htmlunit-only option. ' .
149149 'See https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities#read-write-capabilities. '
150150 );
151151 }
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function testShouldProvideAccessToCapabilitiesUsingSettersAndGetters()
6464
6565 /**
6666 * @expectedException \Exception
67- * @expectedExceptionMessage isJavascriptEnable () is a htmlunit-only option
67+ * @expectedExceptionMessage isJavascriptEnabled () is a htmlunit-only option
6868 */
6969 public function testShouldNotAllowToDisableJavascriptForNonHtmlUnitBrowser ()
7070 {
You can’t perform that action at this time.
0 commit comments