From 67161ca7b0cbcd2a37a51c7fd8fcfdbe0c577293 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 25 Oct 2023 14:14:17 +0200 Subject: Format: Run Black --- selenium_eduvpn.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'selenium_eduvpn.py') diff --git a/selenium_eduvpn.py b/selenium_eduvpn.py index b3a7c5f..2f452a0 100644 --- a/selenium_eduvpn.py +++ b/selenium_eduvpn.py @@ -46,15 +46,15 @@ def login_oauth(driver, authURL): elem.send_keys(portal_pass) # Click login button - driver.find_element("css selector", - ".frm > fieldset:nth-child(2) > button:nth-child(2)" + driver.find_element( + "css selector", ".frm > fieldset:nth-child(2) > button:nth-child(2)" ).click() # Check that we have reached the approve application page assert "VPN Portal - Approve Application" in driver.title # Click approve - driver.find_element("css selector", - ".frm > fieldset:nth-child(1) > button:nth-child(1)" + driver.find_element( + "css selector", ".frm > fieldset:nth-child(1) > button:nth-child(1)" ).click() -- cgit v1.2.3