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

How to click on the links or buttons? #1

Open
LinArcX opened this issue Jun 1, 2019 · 1 comment
Open

How to click on the links or buttons? #1

LinArcX opened this issue Jun 1, 2019 · 1 comment

Comments

@LinArcX
Copy link

LinArcX commented Jun 1, 2019

Hi. Thank you so much for this great effort. I'm working now with selenium + python and i decided to create a scrappy app using qt(because i need android/linux/windows outputs). And I think there are still some limitations exists here.(compared with selenium) For example:

  1. In selenium it allows you to find links(or buttons) in the pages and click on theme:
    page.find_element_by_xpath('//button[@id="page-word-search-button"]').click()
  2. Or we can locate an input item and insert some text into it:
input = page.find_element_by_xpath('//input[@id="search"]')
input.send_keys('Ring My Bells')

How do these tasks within qt and with your ideas?

@stereomatchingkiss
Copy link
Owner

Sorry for my late reply, I use webkit of Qt perform that task, you can check the file in "core/google_image_search.cpp"

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