Phil
2018-11-27 16:24:14 UTC
I'm having trouble running selenium and gecko and I get 'unknown field
`ms`, expected one of `implicit`, `pageLoad`, `script`'
System
- GeckoDriver Version: 0.23
- Platform: Windows 10
- Firefox: 63.0.3 (64 bit)
- Selenium: Selenium server stand alone 3.141.59
Testcase
In my BeforeScenario of my behat file FeatureContext.php, it says this:
/** @BeforeScenario */
public function before(BeforeScenarioScope $scope)
{
$tags = $scope->getScenario()->getTags();
if (in_array('skip', $tags)) {
throw new SkippedException();
}
// Reduce the page timeout to expedite test
$this->getSession()->getDriver()->setTimeouts(['page load' => 60000]);
}
This is my Git Bash log
ââ @BeforeScenario # FeatureContext::before() â â³ unknown field `ms`,
expected one of `implicit`, `pageLoad`, `script` at line 2 column 6 â³ Build
info: version: '3.141.59', revision: 'e82be7d358', time:
'2018-11-14T08:25:53' â³ System info: host: 'COMPUTER', ip: '192.168.56.1',
os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version:
'1.8.0_191' â³ Driver info: driver.version: unknown (Exception) â
Selenium Server log 16:41:16.974 INFO [ActiveSessionFactory.apply] -
Capabilities are: { "acceptInsecureCerts": true, "browser": "firefox",
"browserName": "firefox", "ignoreZoomSetting": false, "marionette":
"true;", "name": "Behat feature suite", "tags": [ "COMPUTER", "PHP 7.0.32"
] } 16:41:16.987 INFO [ActiveSessionFactory.lambda$apply$11] - Matched
factory org.openqa.selenium.grid.session.remote.ServicedSession$Factory
(provider: org.openqa.selenium.firefox.GeckoDriverService) 1543250477607
mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla
Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile"
"C:\\Users\\USER~1\\AppData\\Local\\Temp\\rust_mozprofile.xc0wSA6bDzje"
1543250483964 Marionette INFO Listening on port 57143 1543250484413
Marionette WARN TLS certificate errors will be ignored for this session
16:41:24.544 INFO [ProtocolHandshake.createSession] - Detected dialect: W3C
16:41:24.583 INFO [RemoteSession$Factory.lambda$performHandshake$0] -
Started new session a9efab3a-e3dd-40c5-811d-c6a6c01ba0b3
(org.openqa.selenium.firefox.GeckoDriverService) 1543250484859 Marionette
INFO Stopped listening on port 57143 JavaScript error:
resource://activity-stream/lib/TopSitesFeed.jsm, line 86: TypeError:
setting getter-only property "_currentSearchHostname" [Parent 17068,
Gecko_IOThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Child 19036, Chrome_ChildThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Child 19036, Chrome_ChildThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Parent 17068, Gecko_IOThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Parent 17068, Gecko_IOThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Chil ###!!! [Child][RunMessage] Error: Channel closing: too late to
send/recv, messages will be lost [GPU 18804, Chrome_ChildThread] WA ###!!!
[Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
16:41:26.461 INFO [ActiveSessions$1.onStop] - Removing session
a9efab3a-e3dd-40c5-811d-c6a6c01ba0b3
(org.openqa.selenium.firefox.GeckoDriverService)
Please let me know if you need more info, I'm new to using all these tools so it would be awesome if you could provide support on this. I'm actually having the same problem with IEDriver but I am just stuck here, help!!
`ms`, expected one of `implicit`, `pageLoad`, `script`'
System
- GeckoDriver Version: 0.23
- Platform: Windows 10
- Firefox: 63.0.3 (64 bit)
- Selenium: Selenium server stand alone 3.141.59
Testcase
In my BeforeScenario of my behat file FeatureContext.php, it says this:
/** @BeforeScenario */
public function before(BeforeScenarioScope $scope)
{
$tags = $scope->getScenario()->getTags();
if (in_array('skip', $tags)) {
throw new SkippedException();
}
// Reduce the page timeout to expedite test
$this->getSession()->getDriver()->setTimeouts(['page load' => 60000]);
}
This is my Git Bash log
ââ @BeforeScenario # FeatureContext::before() â â³ unknown field `ms`,
expected one of `implicit`, `pageLoad`, `script` at line 2 column 6 â³ Build
info: version: '3.141.59', revision: 'e82be7d358', time:
'2018-11-14T08:25:53' â³ System info: host: 'COMPUTER', ip: '192.168.56.1',
os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version:
'1.8.0_191' â³ Driver info: driver.version: unknown (Exception) â
Selenium Server log 16:41:16.974 INFO [ActiveSessionFactory.apply] -
Capabilities are: { "acceptInsecureCerts": true, "browser": "firefox",
"browserName": "firefox", "ignoreZoomSetting": false, "marionette":
"true;", "name": "Behat feature suite", "tags": [ "COMPUTER", "PHP 7.0.32"
] } 16:41:16.987 INFO [ActiveSessionFactory.lambda$apply$11] - Matched
factory org.openqa.selenium.grid.session.remote.ServicedSession$Factory
(provider: org.openqa.selenium.firefox.GeckoDriverService) 1543250477607
mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla
Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile"
"C:\\Users\\USER~1\\AppData\\Local\\Temp\\rust_mozprofile.xc0wSA6bDzje"
1543250483964 Marionette INFO Listening on port 57143 1543250484413
Marionette WARN TLS certificate errors will be ignored for this session
16:41:24.544 INFO [ProtocolHandshake.createSession] - Detected dialect: W3C
16:41:24.583 INFO [RemoteSession$Factory.lambda$performHandshake$0] -
Started new session a9efab3a-e3dd-40c5-811d-c6a6c01ba0b3
(org.openqa.selenium.firefox.GeckoDriverService) 1543250484859 Marionette
INFO Stopped listening on port 57143 JavaScript error:
resource://activity-stream/lib/TopSitesFeed.jsm, line 86: TypeError:
setting getter-only property "_currentSearchHostname" [Parent 17068,
Gecko_IOThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Child 19036, Chrome_ChildThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Child 19036, Chrome_ChildThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Parent 17068, Gecko_IOThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Parent 17068, Gecko_IOThread] WARNING: pipe error: 109: file
z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line
346 [Chil ###!!! [Child][RunMessage] Error: Channel closing: too late to
send/recv, messages will be lost [GPU 18804, Chrome_ChildThread] WA ###!!!
[Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
16:41:26.461 INFO [ActiveSessions$1.onStop] - Removing session
a9efab3a-e3dd-40c5-811d-c6a6c01ba0b3
(org.openqa.selenium.firefox.GeckoDriverService)
Please let me know if you need more info, I'm new to using all these tools so it would be awesome if you could provide support on this. I'm actually having the same problem with IEDriver but I am just stuck here, help!!
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/7b2cec00-3eae-42bd-94af-234571444a16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/7b2cec00-3eae-42bd-94af-234571444a16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.