{"action":"created","issue":{"url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/834","repository_url":"https://api.github.com/repos/nightwatchjs/nightwatch","labels_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/834/comments","events_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/834/events","html_url":"https://github.com/nightwatchjs/nightwatch/issues/834","id":130614064,"number":834,"title":"Wait for Ajax request to finish","user":{"login":"stebiger","id":8200750,"avatar_url":"https://avatars.githubusercontent.com/u/8200750?v=3","gravatar_id":"","url":"https://api.github.com/users/stebiger","html_url":"https://github.com/stebiger","followers_url":"https://api.github.com/users/stebiger/followers","following_url":"https://api.github.com/users/stebiger/following{/other_user}","gists_url":"https://api.github.com/users/stebiger/gists{/gist_id}","starred_url":"https://api.github.com/users/stebiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stebiger/subscriptions","organizations_url":"https://api.github.com/users/stebiger/orgs","repos_url":"https://api.github.com/users/stebiger/repos","events_url":"https://api.github.com/users/stebiger/events{/privacy}","received_events_url":"https://api.github.com/users/stebiger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-02T08:42:35Z","updated_at":"2016-02-11T07:27:58Z","closed_at":"2016-02-11T07:27:58Z","body":"Hey,\r\n\r\nI am testing my jsf web application which does a lot of ajax requests. \r\nWe also block the UI with JQuery BlockUI which makes sense for the user behaviour - anyhow nightwatch is in many cases much faster than a human being - therefor running into a behavioural problem where it cannot execute a click command as the blockUI div is floating over the button for example.\r\n\r\nIs there any way to detect an ongoing XHR Request to wait for that request to be finished and then execute the click?\r\n\r\nIf not I think this is a really nice enhancement.\r\n\r\nRegards\r\nStefan"},"comment":{"url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/comments/182747047","html_url":"https://github.com/nightwatchjs/nightwatch/issues/834#issuecomment-182747047","issue_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/834","id":182747047,"user":{"login":"stebiger","id":8200750,"avatar_url":"https://avatars.githubusercontent.com/u/8200750?v=3","gravatar_id":"","url":"https://api.github.com/users/stebiger","html_url":"https://github.com/stebiger","followers_url":"https://api.github.com/users/stebiger/followers","following_url":"https://api.github.com/users/stebiger/following{/other_user}","gists_url":"https://api.github.com/users/stebiger/gists{/gist_id}","starred_url":"https://api.github.com/users/stebiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stebiger/subscriptions","organizations_url":"https://api.github.com/users/stebiger/orgs","repos_url":"https://api.github.com/users/stebiger/repos","events_url":"https://api.github.com/users/stebiger/events{/privacy}","received_events_url":"https://api.github.com/users/stebiger/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T07:27:58Z","updated_at":"2016-02-11T07:27:58Z","body":"Thank you @maxgalbu - as this is the extension I was looking for this issue can be solved.\r\nI am not part of the nightwatch team but have you considered making a PR?\r\n\r\nThank you!"}}