question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

clearAll() method

See original GitHub issue

It looks like we can already read() all available cookies and clear() a single cookie. For testing purposes it might make sense to have a clearAll() method as well, to be able to start an acceptance test without any cookies.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
marcoowcommented, Nov 15, 2017

@geekygrappler: I think you were working on a PR?

0reactions
dzbocommented, Nov 15, 2017

I’ve also faced issues with cookies in acceptance tests. Would be great to have that clearAll option 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

System.Clear(var Any) Method - Business Central
Use the ClearAll Method to clear all internal variables, keys, and filters in the object and in any associated objects such as reports, ......
Read more >
Set clear() method in Java with Examples - GeeksforGeeks
The Java.util.Set.clear() method is used to remove all the elements from a Set. Using the clear() method only clears all the element from...
Read more >
clearAll method ‒ Qlik Sense for developers - Qlik | Help
clearAll method ; Clears all selections in all fields of the current Qlik Sense · Version history. Version history. Version state, Details. Introduced,...
Read more >
Dynamics 365 Business Central: ClearAll is evil, again!
the ClearAll() procedure clears all internal variables (except REC variables), keys, and filters in the object and in any associated objects, ...
Read more >
Clear method - IBM
The Clear method removes all of the child objects of a runtime object, but does not remove the object itself. For example, you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found