[英]Gemini: IE11 doesn't work
您能在以下方面提供幫助嗎?
IE 11無法運行雙子星測試
這是堆棧跟蹤:
[moveTo({"element-6066-11e4-a52e-4f735466cecf":"320a2146-d2b3-4868-accc-cb04927e6cb2"},0,0)] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command.
在Selenium Wiki中 ,調查了在gemini庫中使用moveTo動作來校准瀏覽器,但是IEDriver中沒有使用此功能。 這是使用moveTo動作的文件 : 鏈接到gemini文件
gemini.reset = () => {}; - it doesn't work
有誰知道如何修理它?
提前致謝
這是代碼: test.gemini.js
gemini.suite('test', (suite) => {
suite.setUrl('/test')
.setCaptureElements('[test]')
.capture('email')
.before((actions, find) => {
this.emailField = find('input[name="email"]');
this.usernameField = find('input[name="username"]');
this.saveButton = find('test');
})
.capture('with text', (actions, find) => {
actions.sendKeys(this.emailField, 'test');
})
.capture('click', (actions, find) => {
actions.waitForElementToShow('input[name="username"]');
actions.click(this.emailField);
})
.capture('hover', (actions, find) => {
actions.mouseMove(this.emailField)
})
.capture('name with text', (actions, find) => {
actions.sendKeys(this.usernameField, 'test test test 1074029859084*^@*($^)%)()9308')
})
.capture('click on save button', (actions) => {
actions.click(this.saveButton);
});
});
.gemini.js
module.exports = {
rootUrl: 'http://localhost:7777',
gridUrl: 'http://127.0.0.1:4444/wd/hub',
screenshotsDir: './screens',
windowSize: '1600x1080',
system: {
plugins: {
'html-reporter': {
enabled: true,
path: 'my/gemini-reports',
defaultView: 'all',
baseHost: 'test.com'
}
}
},
browsers: {
// chrome: {
// desiredCapabilities: {
// browserName: 'chrome',
// }
// },
ie11: {
desiredCapabilities: {
browserName: 'internet explorer',
version: '',
ignoreProtectedModeSettings: true,
ignoreZoomSetting: true,
requireWindowFocus: true,
ensureCleanSession: true
}
},
}
};
此問題的可能解決方案是使用其他版本的硒。 這是:
selenium-standalone install --version=2.47.0 --drivers.ie.version=2.53.1
selenium-standalone start --version=2.47.0 --drivers.ie.version=2.53.1
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.