jcalderonzumba / gastonjs Goto Github PK
View Code? Open in Web Editor NEWPhantomJS API based server for web page automation
License: MIT License
PhantomJS API based server for web page automation
License: MIT License
Anyway, great library ๐
It would be great if the visit() function would accept additional settings for the webPage.open() call, as described on http://phantomjs.org/api/webpage/method/open.html. It would then be possible e.g. to supply per-request proxy settings, undocumented but described e.g. at http://stackoverflow.com/a/28639746
Thanks!
It would be nice to support guzzle 6 instead of guzzle 5 given how long guzzle 5 will be supported. Working on it at the moment ...
See https://travis-ci.org/jcalderonzumba/MinkPhantomJSDriver/jobs/78189066 for an exception which does not have a message, and so is harder to debug
PhantomJS server suddenly and frequently dies out and have to manually restart to get it to work again.
Error output said to report the bug so I'm reporting it.
Given I have an anchor element similar to
<a id="unique-id" title="Some title" href="path/to/5">
<img class="carousel-img" src="path/to/images/img.png" />
</a>
Then I should be able to call click on it using id|name|title|alt|value
.
I got the following error trying I click :link
using the title or id attributes on the anchor element.
exception 'Zumba\GastonJS\Exception\BrowserError' with message 'There was an error inside the PhantomJS portion of GastonJS.
This is probably a bug, so please report it:
click
' in vendor/jcalderonzumba/gastonjs/src/Browser/BrowserBase.php:122
Stack trace:
#0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserBase.php(99): Zumba\GastonJS\Browser\BrowserBase->getErrorClass(Array)
#1 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserMouseEventTrait.php(17): Zumba\GastonJS\Browser\BrowserBase->command('click', 2, 1)
#2 vendor/jcalderonzumba/mink-phantomjs-driver/src/MouseTrait.php(31): Zumba\GastonJS\Browser\Browser->click(2, 1)
#3 vendor/behat/mink/src/Element/NodeElement.php(153): Zumba\Mink\Driver\PhantomJSDriver->click('(//html/.//a\n[....')
#4 vendor/behat/mink/src/Element/TraversableElement.php(73): Behat\Mink\Element\NodeElement->click()
Can we please get a new release, in order to get the Guzzle updates?
Drupal needs to get off dev-master.
Thanks
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.