Edge webdriver bug: Java script return value not converted correctly

By design Issue #6174379

Details

Created
Jan 13, 2016
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Edge driver version 10.0.10550.0

Expected Results:

the javascript Date() object should be converted into a Dictionary with
"Second"=xyz
"Minute"=xyz
"Hour"=xyz
“Day” = xyz,
"Month"=xyz,
"Year"=xzy etc…

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Mara P.”

      Changed Assigned To from “Mara P.” to “Ben B.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Ben B.” to “IE S.”

      Changed Status from “Confirmed” to “By design”

    • Hello:

      Thank you for your feedback. At this time we do not plan on making this change.

      This is actually working as expected. The Date object doesn’t have any properties, so when you run “return new Date();” you get an empty object. If you instead run “return Date();” it will return a string with the date/time contained. This works the same as Chrome.

      We continue to welcome more feedback and look forward to hearing from you again soon.

      Best regards,
      The Microsoft Edge Team

    You need to sign in to your Microsoft account to add a comment.

    Sign in