View file.css
demo-web git:(master) docker-compose up --abort-on-container-exit -d
ERROR: --abort-on-container-exit and -d cannot be combined.
View file.html
<div _ngcontent-c41="" class="col-lg-3 col-md-6 form-group">
<label _ngcontent-c41="">Street Address</label>
<br _ngcontent-c41=""> 32 Some Alley
<!---->
</div>
View file.sh
selenium/standalone-firefox
View file.m
driver.wait(function() {
return driver.getAllWindowHandles().then(function(windows) {
return windows.length === 2;
});
}, 5000);
const windows = (await driver.getAllWindowHandles());
console.log(windows.length + ' windows');
View file.m
executeAsyncScript(`
const interceptor = ${interceptor};
View file.m
const interceptor = `${JSON.stringify(arguments[0])}`; // interceptor: "{"getRequest":"function getRequest(index) {\n...
View file.m
const interceptor = `${arguments[0]}`; // interceptor: "[object Object]"
View file.m
module.exports = {
setup: function setup(done) {
...code...
}
}
View file.m
world.driver.executeAsyncScript(() => {
const interceptor = arguments[0];
const callback = arguments[arguments.length - 1];
debugger;
}, interceptor);
View file.sh
requireEdMethodObject: {
getRequest: "function getRequ..."