1 parent 9b0dfa0 commit 59c0b68Copy full SHA for 59c0b68
1 file changed
README.md
@@ -10,6 +10,24 @@ Currently available features:
10
- MySql db container
11
- PostgreSQL db container
12
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
31
Contribution
32
------------
33
0 commit comments