Selenium and qt C ++?

Is it possible to use selenium with qt c ++?

It looks like there is no official support for selenium for C ++?

http://seleniumhq.org/download/

+4
source share
3 answers

You might be able to use the json wire protocol to communicate with the webdriver server in a Qt / C ++ application, but consider using some scripting language instead. For example, Python is pretty easy to learn and has webdriver bindings.

http://code.google.com/p/selenium/wiki/JsonWireProtocol

http://code.google.com/p/selenium/wiki/PythonBindings

+1
source

For Qt applications, there is Webdriver: https://github.com/cisco-open-source/qtwebdriver

  • Use selenium bindings (python, java, etc.) to write tests and send a command with a wired protocol.
  • Install Qtwebdriver on the Qt Application Side
  • You can then automate the Qt application with selenium tests.
+1
source

Check out the https://github.com/linotex/quelenium library. I hope his help

0
source

Source: https://habr.com/ru/post/1391965/


All Articles