Skip to content

Commit 59c0b68

Browse files
author
sepi
committed
readme changed
1 parent 9b0dfa0 commit 59c0b68

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ Currently available features:
1010
- MySql db container
1111
- PostgreSQL db container
1212

13+
14+
========================
15+
16+
Usage example:
17+
18+
- Selenium Standalone containers
19+
20+
You can execute test scripts using Standalone Selenium Docker containers for Firefox and Chrome:
21+
22+
def test_standalone_container(self):
23+
chrome = StandaloneSeleniumContainer(SeleniumImage.STANDALONE_CHROME, DesiredCapabilities.CHROME)
24+
with chrome:
25+
driver = chrome.get_driver()
26+
driver.get("http://google.com")
27+
driver.find_element_by_name("q").send_keys("Hello")
28+
29+
30+
1331
Contribution
1432
------------
1533

0 commit comments

Comments
 (0)