clear method doesnt work
See original GitHub issuei try to clear user cookie in my ember app. and the cookie still there…
export default Service.extend({
cookies: Ember.inject.service(),
removeCookies() {
let cookieService = this.get('cookies');
cookieService.clear('user');
}
});
its work in chrome. but not in firefox… whats wrong…
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
selenium clear() command doesn't clear the element
I cleared a text field using webelement.clear() method, later while executing next command (click event), the text area I had previously cleared ...
Read more >CLEAR Method skipped while running the tests
Step 1 : Enter Text · Step 2 : Validate Previously entered Text · Step 3 : Clear the text using clear method....
Read more >clear method not working in Selenium Webdriver - YouTube
clear method not working in Selenium Webdriver. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin ...
Read more >[Solved] clear() Function does not working - CodeProject
If txtFName is a List or Array or Dictionary then it is perfectly fine as Clear() is available for them.
Read more >Can't clear input field using IWebDriver.Clear() method
I don't know why the clear() method isn't working for you, but I faced a situation like that recently and I used the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the details @eighthjouster! I just confirmed the respective test breaks in Firefox.
There is an easy workaround: Just before deleting the cookie, set it again to any value (an empty string should be fine). Firefox will of course “revive” the cookie, and clearing it will work at that point. For example: