在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:webdriverio/selenium-standalone开源软件地址:https://github.com/webdriverio/selenium-standalone开源编程语言:JavaScript 91.9%开源软件介绍:Node.js Selenium Standalone
Supported Drivers: Install & RunAs Global NPM Packagenpm install selenium-standalone -g
selenium-standalone install && selenium-standalone start As a Local NPM Packagenpm install selenium-standalone --save-dev
npx selenium-standalone install && npx selenium-standalone start As a Docker Servicedocker run -it -p 4444:4444 webdriverio/selenium-standalone If you run Chrome or Firefox tests within a Docker container make sure you set capabilities so that the session is headless, e.g.: capabilities: {
browserName: 'chrome',
'goog:chromeOptions': {
args: ['--no-sandbox', '--headless']
}
} or Firefox: capabilities: {
browserName: 'firefox',
'moz:firefoxOptions': {
args: ['-headless']
}
} If you are looking for more sophisticated Docker container that allows you to run browser, check out the Docker Selenium project. CLI)Command line interface (See CLI docs API)Application Programming Interface (See API docs Available browsersBy default, Google Chrome, Firefox and Microsoft Edge are available when installed on the host system. Starting from Tips
Examples of combining with other tools
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论