You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2023. It is now read-only.
When i try to fill form on visited browser, the
"No INPUT matching 'input[name=IDToken1]'"
is thrown.
But from this image you can clearly see that it's there.
I've tried also matching by name or other attributes, but withou any progress.
Here's my code:
`$(function(){
var Browser = require("zombie");
var assert = require("assert");
browser = new Browser()
browser.visit("website", function () {
// fill search query field with value "zombie"
browser.fill('input[name=IDToken1]', 'name');
browser.fill('input[name=IDToken2]', 'password');
// **how** you find a form element is irrelevant - you can use id, selector, anything you want
// in this case it was easiest to just use built in forms collection - fire submit on element found
browser.document.forms[0].submit();
// wait for new page to be loaded then fire callback function
browser.wait().then(function() {
// just dump some debug data to see if we're on the right page
console.log(browser.dump());
})
});
});`
Thanks
The text was updated successfully, but these errors were encountered:
When i try to fill form on visited browser, the

"No INPUT matching 'input[name=IDToken1]'"
is thrown.
But from this image you can clearly see that it's there.
I've tried also matching by name or other attributes, but withou any progress.
Here's my code:
`$(function(){
var Browser = require("zombie");
var assert = require("assert");
Thanks
The text was updated successfully, but these errors were encountered: