This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vagrant.configure("2") do |config| | |
| # Default Vagrant box - Ubuntu 20.04 from roboxes.org | |
| config.vm.box = "generic/ubuntu2004" | |
| # Suitable hostname - if you see it in your prompt, then you're in containers' host VM | |
| config.vm.hostname = "diveinto" | |
| # Some VirtualBox configuration. | |
| config.vm.provider "virtualbox" do |v| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function deleteSavedItems() { | |
| var query = document.querySelectorAll("#sc-saved-cart input[value=Delete]") | |
| if (query.length) { | |
| query[0].click(); | |
| } | |
| if (query.length > 1) { | |
| setTimeout(deleteSavedItems,100); | |
| } | |
| else { | |
| console.log('Finished'); |