Basic project to show memory leak when using selenium 4.28.0 with PageFactory.initElements(AppiumFieldDecorator)
.
Selenium v | initElements | Result |
---|---|---|
4.25.0 | default | ✅ |
4.25.0 | Appium Field Decorator | ✅ |
4.28.0 | default | ✅ |
4.28.0 | Appium Field Decorator | Leaks |
Run the repeated test in MemoryTest.
Change the org.seleniumhq.selenium.version
version in Maven.
Change the PageFactory.initElements() between default and AppiumFieldDecorator in Page.