Skip to content

Commit

Permalink
Merge pull request #487 from vania-pooh/master
Browse files Browse the repository at this point in the history
Fixed origin for some code examples
  • Loading branch information
vania-pooh authored Jun 20, 2022
2 parents baeb345 + 1d2800d commit 0819d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/containers/Capabilities/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ caps := selenium.Capabilities{
},
}
driver, err := selenium.NewRemote(caps, "http://moon.aerokube.local/wd/hub")
driver, err := selenium.NewRemote(caps, "${origin}/wd/hub")
if err != nil {
t.Errorf("starting browser: %v", err)
}
Expand Down Expand Up @@ -128,7 +128,7 @@ options.AddAdditionalOption("selenoid:options", new Dictionary<string, object> {
/* How to enable video recording */
["enableVideo"] = true
});
IWebDriver driver = new RemoteWebDriver(new Uri("http://moon.aerokube.local/wd/hub"), options);
IWebDriver driver = new RemoteWebDriver(new Uri("${origin}/wd/hub"), options);
`,
python: `from selenium import webdriver
Expand Down

0 comments on commit 0819d8f

Please sign in to comment.