I'm trying to switch to another tab and use controls on that new tab and I get this error:
UnknownError: null value in entry: name=null
this is the test (the important part):
element(by.repeater("project in projects").row(1).column("{{project.name}}")).click().then(function(){
flow.timeout(5000);
$('.project-data a').click().then(function () {
browser.getAllWindowHandles().then(function (handles) {
flow.timeout(5000);
browser.switchTo().window(handles[1]).then(function () {
browser.sleep(5000);
browser.ignoreSynchronization = true;
});
there is other part in the test but it's not relevant since I get the error in this part. the flow is this: after clicking the link, the tab is opened, seems like it switches to the new tab - and then it fails and closes the window.