I am getting an error
Element is not clickable at point (100,12). Other Element would receive this click
I did some research on the issue and here are the solutions I have tried
Maximize Window
driver.manage.window.maximizeScroll into view
driver.execute_script("arguments[0].scrollIntoView(true);", element) sleep(3)
None of these seem to work.
Here is the layout of the HTML
<body>
<div>
<div>
<div>
<ul>
<li> <a> Click me </a>
...
The way I get the element is
element = driver.find_element(:xpath, "//li/a[contains(text(), 'Click me')]"
Anyone know what I am doing wrong? What could I do more?