I've been trying to use PhantomJS for headless browser testing, but there so many weird things going on. Any recommendations for alternatives?
Good Alternative to PhantomJS for Integration ( E2E ) Testing
684 Views Asked by noviceCoder At
1
There are 1 best solutions below
Related Questions in TESTING
- How does Robot's Telnet library work?
- Behat doesn't load extensions?
- Load additional CONFIG file with values
- rails controller test failing non-deterministicly wrt state leak (I think)
- Ordering tests using trial twisted
- Unexcepted failed Gavel/Dredd test
- How to use Jasmine and CucumberJS with Protractor
- Django login tests session problems
- How to mock specific RequireJs dependencies while unit testing
- Test case for WCF REST Service
- how to test this business logic
- Protractor - How to get first or last CHILD value
- Factory Not Registered in rspec but found in console
- Pick out certain lines from files
- Selenium stops running after click() function runs
Related Questions in PHANTOMJS
- Rasterization with Javascript looks different on Apache server
- Test with mouseover & mouseleave only works with 1000ms timeout
- I dont know how to add Proxy to my Phantomjs script
- Seg fault when trying to compile PhantomJS from source on CentOS 7
- Phantomjs fails when Protractor is run with selenium hub
- CasperJs Catch Timeout and Restart Process
- How to use DOMParser in PhantomJS?
- CasperJS click on buttons is not working
- TimeoutException when instantiating PhantomJSDriver on Linux server
- How to run PhantomJS as a server and call it remotely?
- Unable to fill the login credentials from commandline in casperjs
- Phantom crashes after 222 page crawls
- Using phantomjs print proxy it used to access website
- Exporting mapbox maps into pdf using phantomjs doesnt load featurelayer and geoJson layer
- SVGs saved with Phantomjs appear different compared to how they render in Chrome
Related Questions in INTEGRATION
- excel datasource returning nulls with sql command
- Debugging a 404 error for an existing page
- Protractor: Multiple browser instance tests fail where Single Instance tests pass
- how to share a Photo Or link on facebook wall without using FBSDKShareDialog from native ios app
- Spring Security Struts 1.3 integration without extending GrandAuthority and UserDetails
- how to examine contents of database during or after rails integration test
- How to integrate Google Bigquery with c# console application
- Integration of a function which is numerical solution of differential equation
- Apache Camel web service using spring
- Creating buffer/ processing multiple files SSIS
- Why ClearCase Explorer is that ClearQuest Web is not supported UCM integration?
- How can i separate WHMCS css and my own HTML css code
- Consuming Salesforce Restful webservice in Mule
- API Integration osclass
- Qlik Sense Engine with Java application
Related Questions in HEADLESS-BROWSER
- Selenium Web Driver: findElement(By.name ..... and headless browser
- Can't run firefox in headless mode
- RiotJS and headless webkit
- Java Headless browser with Flash Support
- Headless browser for FireFox (similar to PhantomJS for Chrome)
- Waiting for a selector in a loop with CasperJS
- Good Alternative to PhantomJS for Integration ( E2E ) Testing
- phantomjs - open page does nothing
- Using Chrome with `--headless` switch to measure user page load times
- Website asking for verification code when logged in using casperjs or a new browser
- How to get cookies from a headless browser provided by HtmlUnit in Java?
- Jenkins & TestNG start browsers
- Running Selenium Webdriver Scripting by using Headeless Browser?
- Various Urllib2 errors when running Selenium webdriver on a VPS
- Chromedp Package: How to get updated HTML source of the webpage which has dynamically loaded contents by using chromedp
Related Questions in E2E-TESTING
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- A Jasmine spec timed out. Resetting the WebDriver Control Flow - when redirect to new page
- Waiting for Ionic Loading dialogs with Protractor
- RequireJS modules in Protractor specs. Is it possible?
- Only run tests if previous tests haven't failed
- Should I use ids to locate elements?
- What is the benefit of using protractor for applications non angular?
- Good Alternative to PhantomJS for Integration ( E2E ) Testing
- protractor e2e testing Returning Promises from utility steps
- Preprocess e2e tests' files (ES6 styling) for Protractor using webpack
- Why subsequent tests for ngmocke2e failed to call mock backend. Only the first test would pass. Second test would call the real backend
- test bootstrap modal element NoSuchElementError - Protractor
- $document.injector is not a function in Karma E2E Tests
- Check if the view is on the top of the screen with Selenium JavaScript web driver
- Why use selenium instead of chromedriver standalone?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
After dealing with this same dilemma myself, I can wholeheartedly recommend using your preferred Selenium webkit (mine is Chrome) in conjunction with XVFB.
XVFB allows you to heedlessly run a browser like Firefox, Chrome, etc. which basically eradicates all of the bugginess that inherently comes with using PhantomJS. While it’s definitely an awesome piece, it’s inner workings tend to have different interactions at times (I ran into issues for instance with not being able to TAB from one element to another like one can in any browser). If you are using Jenkins, there is an incredibly awesome Plugin which literally takes one click of a button. Otherwise, I’d definitely recommend checking this out.
Hope this helps!