Comments (6)
Since of reasons I mentioned above, how is this change?
from selenium-ide.
It does click only once, but it retries the click until the element appears, or fails after 30 seconds due to timeout.
Once it successfully clicks it logs success or failure and moves forward.
I thought it was better to log the amount of retries, do you think I should log it once, or in a different manner?
from selenium-ide.
In WebDriver, waits are tied to "find" operations. If you want to log attempts, it would be more natural to see something like
"trying to find..."
"trying to find..."
"trying to find..."
"clickAt"
in the log.
If you want to change this logic, it should be negotiated and approved by the dev team.
from selenium-ide.
I'm wondering what's the best way to achieve this experience.
Currently the extension tries to communicate the command to the tab under test, to which we have 3 results.
- The command was successfully executed
- The element was not found
- Other errors (tab was closed mid-test, etc)
Thus, by the time I know wether or not the element was found, if it was found, then the click already went through.
I can say, trying to find instead of executing, and say that it was executed instead of simply success,
But really, what the extension is trying to do, is to execute, and not simply find, which we do not communicate that way in the logs.
Do you think that's a problem, or to change as I mentioned?
from selenium-ide.
There are more than three possible outcomes.
- success
- element not found,
- element found, but operation failed, because element is not appropriate (e.g. an attempt to select from drop-down menu, but the found element is not 'select') or its state is not appropriate (e.g. it is invisible), or element is stale, removed from the DOM (yes, this can happen too)
- other errors
In all cases except for 1) a user would like to see what happened.
It's important for debugging. If I see an element can be found -- it must be a wrong locator. If I see the element can't be clicked -- I know the locator is OK, but the element is not ready to interact with, and I have to change the scenario.
from selenium-ide.
In addition to the previous comment, the extension will now log if it's waiting for the Element to appear, or if it has reached a timeout waiting for it to appear
from selenium-ide.
Related Issues (20)
- selenium-side-runner container fail to run .side file HOT 1
- Splash window become white-out in v4.0.1-beta.5 HOT 2
- selenium-side-runner thrown timeout error HOT 8
- Selenium IDE has a large application market in China, so I localized the source code (trunk branch) and added some features and fixed some bugs that I found. Perhaps I can help promote Selenium IDE in China. HOT 4
- Selenium-IDE 4 on MacOS: Unable to startup due to chromedriver error: HOT 11
- [🐛 Bug]: selenium fail to run side file - Error: Driver took too long to build HOT 18
- How can we use 'Virtual Authenticator' for the applications that authenticate users in a passwordless manner. HOT 5
- Warning "Jest did not exit one second after the test run has completed." HOT 5
- Unknown command storeXpathCount HOT 3
- stale element reference: stale element not found HOT 3
- Screentshot Command Missing
- Record new tests on existing pages HOT 1
- Running selenium recorder from terminal HOT 5
- setSpeed command not working in selenium side runner version 4.0.8 HOT 9
- Add a Window Timeout Field in the Command Editor, for Commands Marked as Opening a Window HOT 7
- Side Script with a self signed certificate web application is not running inside a docker container with selenium side runner ver 4.0.8 HOT 6
- Wait timeout value does not work HOT 1
- The new line character \n in string will block assertion HOT 4
- how to get downloads working in IDE/side runner? HOT 2
- HAR (HTTP Archive) data is not being generated correctly. HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selenium-ide.