pomcorn 0.7.4__tar.gz → 0.7.5__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.

Potentially problematic release.


This version of pomcorn might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pomcorn
3
- Version: 0.7.4
3
+ Version: 0.7.5
4
4
  Summary: Base implementation of Page Object Model
5
5
  Home-page: https://pypi.org/project/pomcorn/
6
6
  License: MIT
@@ -285,7 +285,6 @@ class PomcornElement(Generic[locators.TLocator]):
285
285
  def click(
286
286
  self,
287
287
  only_visible: bool = True,
288
- scroll_to: bool = True,
289
288
  wait_until_clickable: bool = True,
290
289
  ):
291
290
  """Click on element.
@@ -293,13 +292,10 @@ class PomcornElement(Generic[locators.TLocator]):
293
292
  Args:
294
293
  only_visible: Flag for viewing visible elements. If this is `True`
295
294
  (default), then this method will only get visible elements.
296
- scroll_to: Whether to scroll to element before clicking or not.
297
295
  wait_until_clickable: Wait until the element is clickable before
298
296
  clicking, or not (default `True`).
299
297
 
300
298
  """
301
- if scroll_to:
302
- self.scroll_to(only_visible=only_visible)
303
299
  if wait_until_clickable:
304
300
  self.wait_until_clickable()
305
301
  self.get_element(only_visible=only_visible).click()
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pomcorn"
3
- version = "0.7.4"
3
+ version = "0.7.5"
4
4
  description = "Base implementation of Page Object Model"
5
5
  authors = [
6
6
  "Saritasa <pypi@saritasa.com>",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes