configure webdriver

Description

Set up an advanced test environment where you are going to run tests with WebDriver. (Learn more about Webdriver)

重要: 
This action is dedicated to Generic WebDriver.

Valid contexts

This action may be used within the following project items: test modules and user-defined actions.

Arguments

Example

Suppose that we ’d like to launch Chrome in headless and webdriver mode. The desired capabilities should resemble the following:

{"capabilities":{"browserName":"chrome"},"options":{"args":["--headless"]}}

Action lines

Besides, in GWD mode, you can decide whether or not to keep the browser open after test execution by using the clean upkey. . See the example below for more information:

{"cleanup":"no"}

Additionally, you can use the Start-up settings to configure the cleanup. Click here for more information.

重要: 
The purpose of keeping the browser open is to help you to debug your test. Using it may cause some problems related to headless mode, multi-execution, un-rent devices, etc. Please be aware of this before using this setting.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400