Created
September 1, 2015 09:50
-
-
Save nojimage/452b4042cd2b2ab84a60 to your computer and use it in GitHub Desktop.
Codeception / WebDriver / ChromeDriver でユーザーエージェントをセットする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class_name: FunctionalTester | |
namespace: App\Test\Functional | |
modules: | |
enabled: | |
- Cake\Codeception\Helper | |
- WebDriver | |
- App\TestSuite\Codeception\FunctionalHelper | |
config: | |
WebDriver: | |
url: 'http://localhost/' | |
window_size: 1024x768 | |
browser: chrome | |
capabilities: | |
chromeOptions: | |
args: | |
- 'user-agent=Foo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also:
https://sites.google.com/a/chromium.org/chromedriver/capabilities
https://sites.google.com/a/chromium.org/chromedriver/mobile-emulation