{"action":"created","issue":{"url":"https://api.github.com/repos/martinsbalodis/web-scraper-chrome-extension/issues/63","labels_url":"https://api.github.com/repos/martinsbalodis/web-scraper-chrome-extension/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/martinsbalodis/web-scraper-chrome-extension/issues/63/comments","events_url":"https://api.github.com/repos/martinsbalodis/web-scraper-chrome-extension/issues/63/events","html_url":"https://github.com/martinsbalodis/web-scraper-chrome-extension/issues/63","id":46716024,"number":63,"title":"Two Element Click selectors cannot work in a single page.","user":{"login":"martinsbalodis","id":890132,"avatar_url":"https://avatars.githubusercontent.com/u/890132?v=3","gravatar_id":"","url":"https://api.github.com/users/martinsbalodis","html_url":"https://github.com/martinsbalodis","followers_url":"https://api.github.com/users/martinsbalodis/followers","following_url":"https://api.github.com/users/martinsbalodis/following{/other_user}","gists_url":"https://api.github.com/users/martinsbalodis/gists{/gist_id}","starred_url":"https://api.github.com/users/martinsbalodis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinsbalodis/subscriptions","organizations_url":"https://api.github.com/users/martinsbalodis/orgs","repos_url":"https://api.github.com/users/martinsbalodis/repos","events_url":"https://api.github.com/users/martinsbalodis/events{/privacy}","received_events_url":"https://api.github.com/users/martinsbalodis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/martinsbalodis/web-scraper-chrome-extension/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/martinsbalodis/web-scraper-chrome-extension/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-24T08:41:52Z","updated_at":"2015-02-04T15:23:48Z","closed_at":null,"body":"If the first element click selector returns an element to the seconds element click selector as its parent selector then the element passed from the parent to the child is cloned in between. After cloning the element it looses connection with the document object. As a result some bad things are happening:\r\n * It is impossible to get a full css selector for an element which is detached from document\r\n * Cloned elements might lose their JavaScript functionality\r\n\r\nThe cloning is done because sometimes elements inner content if changed after clicking and data might get lost because it is extracted only at the end when all buttons were clicked. The solution would be to extract data from each element before executing another click action. Then the element cloning would not be necessary. Another solution might be to add some kind of JavaScript page actions described in #62\r\n"},"comment":{"url":"https://api.github.com/repos/martinsbalodis/web-scraper-chrome-extension/issues/comments/72873844","html_url":"https://github.com/martinsbalodis/web-scraper-chrome-extension/issues/63#issuecomment-72873844","issue_url":"https://api.github.com/repos/martinsbalodis/web-scraper-chrome-extension/issues/63","id":72873844,"user":{"login":"martinsbalodis","id":890132,"avatar_url":"https://avatars.githubusercontent.com/u/890132?v=3","gravatar_id":"","url":"https://api.github.com/users/martinsbalodis","html_url":"https://github.com/martinsbalodis","followers_url":"https://api.github.com/users/martinsbalodis/followers","following_url":"https://api.github.com/users/martinsbalodis/following{/other_user}","gists_url":"https://api.github.com/users/martinsbalodis/gists{/gist_id}","starred_url":"https://api.github.com/users/martinsbalodis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinsbalodis/subscriptions","organizations_url":"https://api.github.com/users/martinsbalodis/orgs","repos_url":"https://api.github.com/users/martinsbalodis/repos","events_url":"https://api.github.com/users/martinsbalodis/events{/privacy}","received_events_url":"https://api.github.com/users/martinsbalodis/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T15:23:48Z","updated_at":"2015-02-04T15:23:48Z","body":"https://groups.google.com/forum/#!topic/web-scraper/JaSC17IWIQE"}}