{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/4903","repository_url":"https://api.github.com/repos/angular/protractor","labels_url":"https://api.github.com/repos/angular/protractor/issues/4903/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/4903/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/4903/events","html_url":"https://github.com/angular/protractor/issues/4903","id":344709048,"node_id":"MDU6SXNzdWUzNDQ3MDkwNDg=","number":4903,"title":"Can't locate web element using Protractor API","user":{"login":"bharukaRupesh","id":17111714,"node_id":"MDQ6VXNlcjE3MTExNzE0","avatar_url":"https://avatars0.githubusercontent.com/u/17111714?v=4","gravatar_id":"","url":"https://api.github.com/users/bharukaRupesh","html_url":"https://github.com/bharukaRupesh","followers_url":"https://api.github.com/users/bharukaRupesh/followers","following_url":"https://api.github.com/users/bharukaRupesh/following{/other_user}","gists_url":"https://api.github.com/users/bharukaRupesh/gists{/gist_id}","starred_url":"https://api.github.com/users/bharukaRupesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharukaRupesh/subscriptions","organizations_url":"https://api.github.com/users/bharukaRupesh/orgs","repos_url":"https://api.github.com/users/bharukaRupesh/repos","events_url":"https://api.github.com/users/bharukaRupesh/events{/privacy}","received_events_url":"https://api.github.com/users/bharukaRupesh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-07-26T06:17:53Z","updated_at":"2018-07-31T05:05:43Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am using chrome headless browser in protractor for testing of Angular WebApp. But, the problem is headless browser is not locating the web element and giving below error,\r\n      - Failed: No element found using locator: By(css selector, *[id=\"login_form_login\"])\r\n\r\nobviously because it doesn't wait to load browser, css elements etc.\r\n\r\nHow it can be resolved to locate web element for headless browser?"},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/409095878","html_url":"https://github.com/angular/protractor/issues/4903#issuecomment-409095878","issue_url":"https://api.github.com/repos/angular/protractor/issues/4903","id":409095878,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTA5NTg3OA==","user":{"login":"bharukaRupesh","id":17111714,"node_id":"MDQ6VXNlcjE3MTExNzE0","avatar_url":"https://avatars0.githubusercontent.com/u/17111714?v=4","gravatar_id":"","url":"https://api.github.com/users/bharukaRupesh","html_url":"https://github.com/bharukaRupesh","followers_url":"https://api.github.com/users/bharukaRupesh/followers","following_url":"https://api.github.com/users/bharukaRupesh/following{/other_user}","gists_url":"https://api.github.com/users/bharukaRupesh/gists{/gist_id}","starred_url":"https://api.github.com/users/bharukaRupesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharukaRupesh/subscriptions","organizations_url":"https://api.github.com/users/bharukaRupesh/orgs","repos_url":"https://api.github.com/users/bharukaRupesh/repos","events_url":"https://api.github.com/users/bharukaRupesh/events{/privacy}","received_events_url":"https://api.github.com/users/bharukaRupesh/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T05:05:42Z","updated_at":"2018-07-31T05:05:42Z","author_association":"NONE","body":"@CrispusDH **I am providing you 3 different files as below,**\r\n1) Config.js file\r\n2) LoginPage.ts\r\n3) login_spec.ts\r\n\r\n[Config_File.txt](https://github.com/angular/protractor/files/2243814/Config_File.txt)\r\n[login_spec.txt](https://github.com/angular/protractor/files/2243815/login_spec.txt)\r\n[LoginPage.txt](https://github.com/angular/protractor/files/2243816/LoginPage.txt)\r\n"}}
{"actor":{"display_login":"bharukaRupesh"}}