Jonathan Lipps
Jonathan Lipps
ok, let us know when it is baked enough for review
What happens if you run the same javascript that Appium does, in the webinspector, at the appropriate part in the test: ```js return document.querySelector("#bob").value ``` What does it return?
Very strange. In our case it would appear then that the issue would be in the built selenium atoms code, which is the bundle of JS we send to mimic...
@AutomatedTester have you seen anything like this weird response from the selenium atoms inserting an extra '0' in a datetime value? Are the atoms maintained these days?
In this case it's coming from the execute script atom. Here is Appium's logging for the situation: ``` 2022-03-30 10:53:25:473 - [HTTP] --> POST /wd/hub/session/f7190d3f-2759-4c2d-8d53-9bd3aa0bc270/execute/sync 2022-03-30 10:53:25:473 - [HTTP] {"script":"return...
> I'm running this on Browserstack, is there another (free preferably) webservice I could run this on with up to date Appium? I don't have Selenium/ Appium installed on a...
the current getting started guides and sample code are likely way out of date. i don't know what Gitpod is so i guess the answer to that question is no!
@StephanLuis didn't we decide that the culprit must be your code that is adding 0s? What was the result of that investigation?
So all Appium is doing when you call `setValue` like you are in this script is: 1. Running the [click](https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/atoms/action.js#L290-L296) selenium atom on the element 2. Running the [type](https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/atoms/action.js#L166-L241) atom...
https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/atoms/inject.js#L271-L283 is what happens when we call executeScript. basically it wraps the string as a function, and calls `.apply` on it. doesn't seem like any events would be fired here....