Browser receive invalid arugment while executeScript pass a valid arument

Issue #6405086

Details

Created
Feb 2, 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:

  • new a session
  • navigate to url

After open the first window.

  • Manual open link with new window from the first page.
  • Loop all window handles and ecuteScript with valid value.

string curHandler = edgeDriver.CurrentWindowHandle;
ReadOnlyCollection<String> handlers = edgeDriver.WindowHandles;

foreach(string handle in handlers)
{
edgeDriver.SwitchTo().Window(handle);
string newS = “UniqueId” + handle;
object res = edgeDriver.ExecuteScript("alert(arguments[0]);", newS);
}

In the second window, the alert script throw an invalid value.

Expected Results:

It should receive a valid arument as WebDriverService.

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 “Corey B.”

      Changed Status to “Confirmed”

      Changed Title from “Browser receive invalid arugment while executeScript pass a valid arument” to “Browser receive invalid arugment while executeScript pass a valid arument”

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

      Changed Status from “Confirmed” to “Not reproducible”

      Changed Status from “Not reproducible”

    • We have resolved this feedback you provided us with to a duplicate of an existing item that has been marked as fixed. As a result we are no longer able to repro in current builds. If you are seeing this in any of the insider builds please feel free to reactivate at your earliest convenience.

      All the best,

      The MS Edge Team

    • Microsoft Edge Team

      Changed Assigned To from “IE S.” to “Steven K.”

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

    Sign in