-
Notifications
You must be signed in to change notification settings - Fork 765
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1856 from emanlove/remote-browser-without-options…
…-1855 Remote browser without options 1855
- Loading branch information
Showing
2 changed files
with
48 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
*** Settings *** | ||
Library SeleniumLibrary | ||
Library Process | ||
*** Variables *** | ||
${URL} https://robotframework.org/ | ||
${REMOTE_BETA} http://localhost:7272 | ||
*** Test Cases *** | ||
Open Chrome with Remote Webdriver without Options | ||
# [Setup] StartDriver chromedriver | ||
Open Browser | ||
... url=${URL} | ||
... browser=chrome | ||
... remote_url=${REMOTE_BETA} | ||
# [Teardown] Stop Driver | ||
Open Edge with Remote Webdriver without Options | ||
# [Setup] StartDriver msedgedriver | ||
Open Browser | ||
... url=${URL} | ||
... browser=edge | ||
... remote_url=${REMOTE_BETA} | ||
# [Teardown] Stop Driver | ||
*** Keywords *** | ||
Start Driver | ||
[Arguments] ${driver_cmd} | ||
Start Process ${driver_cmd} --port:7272 | ||
${result}= Wait For Process timeout=30secs | ||
Process Should Be Running error_message=Unable to start driver with command ${driver_cmd} | ||
Stop Driver | ||
Terminate Process |
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