{"action":"opened","issue":{"url":"https://api.github.com/repos/RedHatQE/widgetastic.core/issues/85","repository_url":"https://api.github.com/repos/RedHatQE/widgetastic.core","labels_url":"https://api.github.com/repos/RedHatQE/widgetastic.core/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/RedHatQE/widgetastic.core/issues/85/comments","events_url":"https://api.github.com/repos/RedHatQE/widgetastic.core/issues/85/events","html_url":"https://github.com/RedHatQE/widgetastic.core/issues/85","id":299314795,"number":85,"title":"Support relative paths","user":{"login":"oshtaier","id":10895065,"avatar_url":"https://avatars1.githubusercontent.com/u/10895065?v=4","gravatar_id":"","url":"https://api.github.com/users/oshtaier","html_url":"https://github.com/oshtaier","followers_url":"https://api.github.com/users/oshtaier/followers","following_url":"https://api.github.com/users/oshtaier/following{/other_user}","gists_url":"https://api.github.com/users/oshtaier/gists{/gist_id}","starred_url":"https://api.github.com/users/oshtaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oshtaier/subscriptions","organizations_url":"https://api.github.com/users/oshtaier/orgs","repos_url":"https://api.github.com/users/oshtaier/repos","events_url":"https://api.github.com/users/oshtaier/events{/privacy}","received_events_url":"https://api.github.com/users/oshtaier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T11:19:05Z","updated_at":"2018-02-22T11:19:05Z","closed_at":null,"author_association":"NONE","body":"We need to have support for relatives path in locators like:\r\n```\r\nclass test(Widget):\r\n    ROOT = ParametrizedLocator(\"{@my_custom_var}/a\")\r\n    CHILD_1 = '{}/a/span'.format(ROOT)\r\n    CHILD_2 = '{}/button/span'.format(ROOT)\r\n    def __init__(self, parent, my_custom_var, logger=None):\r\n        Widget.__init__(self, parent, logger=logger)\r\n        self.my_custom_var= my_custom_var\r\n    def fill(self, values):\r\n        access ROOT\r\n        access CHILD_1\r\n        access CHILD_2\r\n```"}}
{"actor":{"display_login":"oshtaier"}}