Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to click on an element in an app but the mouse clicks in a random place on the desktop #362

Open
JamieBee96 opened this issue Apr 11, 2023 · 1 comment

Comments

@JamieBee96
Copy link

Hi,
Im trying to click on an element in this app that uses transparent overlays. Its essentially a toolbar that sits at the side of your desktop. you can expand it and navigate different menus ect. I can click on the expand button without any issues, but if i try and click on any elements once its expanded. the mouse click will happen somewhere else on the desktop.

this is the piece of code ive got that tries to click on the element, im using action chains to give it the coordinates of the element

def click_on_remote_sources():
remoteSources = driver.find_element(By.ID, 'ExpandAllFolders')
action.move_to_element_with_offset(to_element=remoteSources, xoffset=149, yoffset=384).click().perform()

@QCmohamedelbanna
Copy link

I'm facing the same issue. I'm using winium for automation testing WPF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants