scriby / browser-harness Goto Github PK
View Code? Open in Web Editor NEWFast, cross-browser automation in node.js
License: MIT License
Fast, cross-browser automation in node.js
License: MIT License
Add the ability to pass an error message to waitFor
It's 100ms now, around 20ms looks good.
The approach looks really interesting, compared to using Selenium.
Is the project still maintained, or have some limitations been discovered that justify continuing with Selenium?
If the options to a dropdown change while harness is selecting a value, it can get confused and not end up selecting the requested element
Pass { inBrowser: true } to make it run in the browser.
When performing a selection with findVisible or findVisibles, it will initially find some elements. An error can occur if the element(s) initially found never become visible - even though there might be some other matching elements on the page that do become visible.
The initial element selection should get re-ran until the timeout period expires.
Remove the 'ignore-certificate-errors' when running Chrome. We don't think it's needed anymore.
Update ElementProxy so you can call something like waitForClass('ready')
It would be convenient if given an ElementProxy, we could check if it is no longer pointing to an element in the dom.
If there are multiple elements that match the selector passed to findVisible, it might initially choose an invisible one, and wait for it to become visible. If the object never becomes visible, it will timeout and error.
In the case that the initial selector matches more than one element, and only one is visible, we should return that one.
It's using SIGTERM now by default, which makes Firefox think it crashed sometimes.
Allow it to connect to a new harness instance instead of having to close & re-open
When doing a waitFor and using a callback, the timeout logic doesn't get hit because the condition is only checked once rather than multiple times. We need to be able to timeout even if we're waiting on that callback.
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.