I want to use Sikuli with PhantomJS.Because web application which we are testing have so many http authenticate pop Ups. We are automating those pop ups by using Sikuli when we were using Selenium. But now we want to use PhantomJS because user is not able to do any other work while selenium web driver is performing testing on web application. Basically we don't want to block User for doing any other activity. So we are trying to use PhantomJS.
But as we know that PhantomJS is headless browser and Sikuli is image based testing tool . So can we use Sikuli With PhantomJS? If yes, then how can We use it? I know how to use Sikuli with PhantomJS Webdriver?
Thanks In Advance
No, you can't. As you stated PhantomJS is headless browser and Sikuli is image based testing tool, so there's no GUI to interact with.
Get some Virtual Machines and run tests on them, so no user is blocked.
Related
I am trying to scrape a website, but it is not loading in selenium. When I browse that website in my "real" chrome browser, everything works fine. Is there any way I can use my real browser with python to automate stuff, instead of using selenium??
Thanks
Using selenium we can automate real browsers.
If in case the website is not loading via selenium, you can check if adding desired capabilities helps.
Here we can set proxy, disable extensions etc. There are many options available.
https://chromedriver.chromium.org/capabilities
Also if you can share what kind of error is displayed that would be helpful.
Is there a way to record / generate a video file of the browser session for selenium webdriver with the following setup?
Environment / Test Setup:
e2e web tests (written in any language)
selenium standalone server with chrome
Since, there is no direct support from selenium, you may use third party tool like Monte Media Library. See the link:
How to perform screen recording with the help of selenium?
Hope, this will help you.
does anybody knows a tool when I can set a scenario (click here, fill this form, submit) just like a human did it? Preferably with Firefox
you can test site by using selenium. Its a automated testing tool.Selenium IDE is a Firefox plugin.So you can use that
There are many selenium webdriver binding package of Golang.
However, I don't want to control browser throught server.
How can I control browser with Golang and selenium without selenium server?
You can try github.com/fedesog/webdriver which says in its documentation:
This is a pure go library and doesn't require a running Selenium driver.
I would characterize the Selenium webdriver as a client rather than a server. Caveat: I have used the Selenium webdriver (Chrome version) from .Net and I am assuming it is similar for Go.
The way Selenium works is that you will launch an instance of it from within code, and it creates a live version of the selected browser (i.e. Chrome) and your program retains control over it. Then you write code to tell the browser to navigate to a page, inspect the response, and interact with the browser by filling out form data, clicking on buttons, etc. You can see what is happening on the browser as the code runs, so it is easy to troubleshoot when the interaction doesn't go as planned.
I have used Selenium to upload tens of thousands of records to a website that has no API and only a graphical user interface. Give it a chance.
I have successfully tested applications in FireFox using Selenium WebDriver, but one of our applications runs in a custom browser made using QTWebKit. Is it possible to use WebDriver to automate testing in a custom browser like this?
There is a webdriver for QtWebkit here: https://github.com/cisco-open-source/qtwebdriver
It also can automate qtwidget and QML aplications.
You should be able to use it to automate you custom browser, provided you preserved the QtWebkit APIs.
If QTWebKit has released a WebDriver executable for the browser, then yes.
Otherwise - no.