linotex / quelenium Goto Github PK
View Code? Open in Web Editor NEWQt library for Selenium Server Standalone
License: GNU General Public License v2.0
Qt library for Selenium Server Standalone
License: GNU General Public License v2.0
How to use selenium?
it is need Selenium Standalone Server?
can you give me some examples?
thanks!
Hello,
I am using QT 5.13.0 with Mingw32 compiler, on Windows 10, I compiled the project and add it to my project and run the jar server, then i use this sample code to run a sample write to a google search bar here
#include <QCoreApplication>
#include <webdriver.h>
#include <webdriverexception.h>
#include <server.h>
#include <options.h>
#include <QDebug>
#include <QUrl>
#include <QThread>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
try {
WebDriver* driver = new WebDriver("127.0.0.1", 4444, Browser::FIREFOX);
driver->get("www.google.com");
WebElement *element = driver->findElement(By::name("q"));
element->sendKeys("hello world");
} catch (WebDriverException* e) {
qDebug() << e->message().toUtf8();
}
return a.exec();
}
The FireFox started and the page loaded but I got this error and nothing is written
Error get ELEMENT
"POST /session/45310949-afd9-4ce0-a9a1-77df93c3215f/element//value\nBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'\nSystem info: host: 'DESKTOP-BI1B950', ip: '192.168.1.3', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_201'\nDriver info: driver.version: unknown"
so any help is the project need to update, should I use an old version from the server?, please help and thanks for this big effort this one is amazing for QT
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.