File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 23
23
echo " port = \" ${SE_NODE_PORT} \" " >> /opt/selenium/config.toml
24
24
fi
25
25
26
- echo " [node]
27
- max-sessions = ${SE_NODE_MAX_SESSIONS}
26
+ echo " [node]" >> /opt/selenium/config.toml
27
+ # String, Url where the Grid can be reached
28
+ if [[ -z " ${SE_NODE_GRID_URL} " ]]; then
29
+ echo " Setting up SE_NODE_GRID_URL..."
30
+ else
31
+ echo " grid-url = \" ${SE_NODE_GRID_URL} \" " >> /opt/selenium/config.toml
32
+ fi
33
+ echo " max-sessions = ${SE_NODE_MAX_SESSIONS}
28
34
" >> /opt/selenium/config.toml
29
35
36
+
37
+
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ def test_title_and_maximize_window(self):
94
94
95
95
class OperaTests (SeleniumGenericTests ):
96
96
def setUp (self ):
97
- capabilities = DesiredCapabilities .CHROME
98
- capabilities ['browserName' ] = 'opera'
99
97
self .driver = webdriver .Remote (
100
- desired_capabilities = capabilities ,
98
+ desired_capabilities = DesiredCapabilities . OPERA ,
101
99
command_executor = "http://%s:4444" % SELENIUM_GRID_HOST
102
100
)
You can’t perform that action at this time.
0 commit comments