robotframework-browserpom 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,7 @@ class PageObject(metaclass=ABCMeta):
28
28
  self.logger = robot.api.logger
29
29
  self.locator = LocatorMap(getattr(self, "_locators", {}))
30
30
  self.builtin = BuiltIn()
31
+ self.builtin.set_local_variable(f"${self.__class__.__name__}", self.locator)
31
32
 
32
33
  @property
33
34
  def browser(self) -> Browser:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: robotframework-browserpom
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: robotframework-browser library extension to create Page Objects
5
5
  Home-page: https://github.com/hasanalpzengin/robotframework-browserpom
6
6
  Author: Hasan Alp Zengin
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "robotframework-browserpom"
3
- version = "0.1.2"
3
+ version = "0.1.3"
4
4
  description = "robotframework-browser library extension to create Page Objects"
5
5
  authors = ["Hasan Alp Zengin <hasanalpzengin@gmail.com>"]
6
6
  packages = [{ include = "BrowserPOM" }]