Skip to content

Commit b5bd87b

Browse files
committed
Attempting to get selenium-manager not to run during script
To avoid having the extra logging for selenium-manager (or at least to control the debug output) we are setting the executable_path or the path to the driver. Trying with the event_firing_webdriver script to see if we see debug output there.
1 parent 98d9aa8 commit b5bd87b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: |
4949
SELENIUM_MANAGER_EXE=$(python -c 'from selenium.webdriver.common.selenium_manager import SeleniumManager; sm=SeleniumManager(); print(f"{str(sm.get_binary())}")')
5050
echo "$SELENIUM_MANAGER_EXE"
51-
$SELENIUM_MANAGER_EXE --browser chrome --debug
51+
DRIVER_PATH=$($SELENIUM_MANAGER_EXE --browser chrome --debug | awk '/INFO[[:space:]]Driver path:/ {print $NF;exit}')
5252
- name: Generate stub file for ${{ matrix.python-version }}
5353
if: matrix.python-version != 'pypy-3.7'
5454
run: |

atest/acceptance/2-event_firing_webdriver/event_firing_webdriver.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Library SeleniumLibrary event_firing_webdriver=${CURDIR}/../../resources/testlibs/MyListener.py
33
Resource resource_event_firing_webdriver.robot
44
Suite Setup Open Browser ${FRONT PAGE} ${BROWSER} alias=event_firing_webdriver
5-
... remote_url=${REMOTE_URL} desired_capabilities=${DESIRED_CAPABILITIES}
5+
... remote_url=${REMOTE_URL} executable_path=%{DRIVER_PATH}
66
Suite Teardown Close All Browsers
77

88
*** Variables ***

0 commit comments

Comments
 (0)