You can try the below 2 methods to click on element.
element = driver.find_element_by_css('div[class*="loadingWhiteBox"]')
driver.execute_script("arguments[0].click();", element)
element = driver.find_element_by_css('div[class*="loadingWhiteBox"]')
webdriver.ActionChains(driver).move_to_element(element ).click(element ).perform()
hope this will work.
More Related Contents:
- Selenium – wait until element is present, visible and interactable
- WebDriverWait not working as expected
- How do you use EC.presence_of_element_located((By.ID, “myDynamicElement”)) except to specify class not ID
- selenium.common.exceptions.TimeoutException error using WebDriverWait with expected_conditions through Selenium and Python
- How to sleep Selenium WebDriver in Python for milliseconds
- selenium in python : NoSuchElementException: Message: no such element: Unable to locate element
- Unable to locate element using selenium chrome webdriver in python selenium
- Unable to locate element of credit card number using selenium python
- Message: Element could not be scrolled into view while trying to click on an option within a dropdown menu through Selenium
- Find the reCAPTCHA element and click on it — Python + Selenium
- Selenium and iframe in html
- Selenium not able to click on Get Data button on using Python
- How to interact with the reCAPTCHA audio element using Selenium and Python
- Selenium python Error: element could not be scrolled into view
- “NoSuchWindowException: no such window: window was already closed” while switching tabs using Selenium and WebDriver through Python3
- How to open a link embeded in a webelement with in the main tab, in a new tab of the same window using Control + Click of Selenium Webdriver
- Python Selenium – get href value
- ElementClickInterceptedException: Message: element click intercepted: Element is not clickable with Selenium and Python
- How to retrieve partial text from a text node using Selenium and Python
- Logic Operators in WebDriverWait Expected Conditions
- ElementNotInteractableException: Message: element not interactable error sending text in search field using Selenium Python
- selenium two xpath tests in one
- How to select kendo dropdown element with unselectable=”on” attribute using Selenium and Python
- How to send text to the Password field within https://mail.protonmail.com registration page?
- NoSuchElementException: Message: Unable to locate element while trying to click on the button VISA through Selenium and Python
- Selecting options using Selenium and Python
- selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable using Selenium
- selenium.common.exceptions.ElementNotVisibleException: Message: element not visible while trying to access an element with Python + Selenium
- __init__() takes 2 positional arguments but 3 were given using WebDriverWait and expected_conditions as element_to_be_clickable with Selenium Python
- Message: stale element reference: element is not attached to the page document in Python