selenium-ide
selenium-ide copied to clipboard
Add ‘Clear Browser Cache’ Keyword to IDE wishlist
🚀 Feature Proposal
Add ‘Clear Browser Cache’ to the Selenium IDE Keyword wishlist.
Motivation
Allow users to clear a browser cookie session to prevent pre-populated data, or direct jumps to the last known page from a prior run, to optimize creation of unique test user accounts.
##Example // Completed registration Close “MyEcommeceSite” <No Value> Clear Browser Cache <No Target> <No Value> // New User account Open “www.MyEcommeceSite.com”
This feature will be included in a version of Selenium IDE that will use webdriver to perform playback.
Awesome!
On Mon, May 20, 2019 at 5:34 AM Tomer Steinfeld [email protected] wrote:
This feature will be included in a version of Selenium IDE that will use webdriver to perform playback.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SeleniumHQ/selenium-ide/issues/694?email_source=notifications&email_token=AMDP3YLAMVOHLAGEPK5GUZ3PWJ5B7A5CNFSM4HN4X5B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYMVDA#issuecomment-493931148, or mute the thread https://github.com/notifications/unsubscribe-auth/AMDP3YPT4DZUXQH4E27SAO3PWJ5B7ANCNFSM4HN4X5BQ .
I noticed that this was removed from 'To do' in Selenium IDE 4. Is this something that will be added to v4 or not?
@scottpettyjohn - I don't think it will make the first pass at least. My goal right now is just making it out of alpha with users being able to do the things they could before. The problem of this command is that if I add it, I have to support it in code-export to like 8 different language bindings.
And I'm not opposed to that by any measure, but v3 gets taken down due to the manifest version increment in January, so I'm trying to really focus on the minimum necessary things for transition out of alpha before then.
Would you want some help in the overall effort? I would have to get permission from my company first, but I may be able to contribute.
@scottpettyjohn - YES, I really really would appreciate any help that is offered.
I would like this as well. Currently each test run does not start with a fresh browser which is making testing harder than it should be
Hey all, I decided I wanted this too, so I implemented it in the latest alpha and put it out last night on v4. If you set the option for 'persist session' to true, and run the suite in IDE, it will attempt to clear the session on each run. Unfortunately, it plays kind of funny with 'parallel' currently. I need to figure out how to do better session sandboxing in electron to proceed further with this, but it might take a bit because I want to look at instrumenting all playback windows via Bidi (so we can do local playback on lots more stuff basically)