1

What is an easy(simple/clean) way to add few steps to interact with windows based elements within python selenium script?

eg: Click a download button via selenium driver, change the file name and location and click save button on windows dialog.

Note:

  • Downloads button is just an example. I pretty much want to know a common way to handle any kind of items.
  • I do not want a way where they recommend a way to configure browser such that downloads happen automatically at a specific location on our system.

Way to execute my scenario:

2
  • You can try Python implementation of AutoIT or AutoHK Commented Nov 7, 2018 at 6:15
  • or robotframework.org Commented Nov 7, 2018 at 6:47

2 Answers 2

1

There is a project called Winium, remote driver implementation of Selenium for automating desktop applications. This could help you with this job.

You can spy ui using Inspect.

Find the samples at https://github.com/2gis/Winium.Desktop/wiki/Magic-Samples

Sign up to request clarification or add additional context in comments.

Comments

1

Try to use AUTO It, it will be useful in Interacting with windows based applications in selenium.

Check out here - https://www.guru99.com/use-autoit-selenium.html

Hope This Helps You.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.