Android driver: set 'page load' timeout is not implemented yet

Getting this while launching chrome as a native app on Android 13 Emulator Devices.

Kind of the similar issue mentioned here: https://github.com/appium/appium/issues/11609

I am just wondering if there is any way to use this capability on native app: driver.set_page_load_timeout(30)

Since this ^ capability will not work if we launch Chrome Browser as a native app, instead of a web browser.
Any possible way to make this capability run on Chrome Browser launched as native app?

Thanks in advance.

cc: @mykola-mokhnach

Hi @mykola-mokhnach / @Randy_Harsh

Greetings.

I have an android application which takes a long time to load. I want to use pageLoadTimeout.

However, when I write code pageLoadTimeout option is displayed .

Syntax I implement :

driver.manage().timeouts().pageLoadTimeout(Duration.ofSeconds(30));

When i Run the script, I get the below error:

org.openqa.selenium.UnsupportedCommandException: {“value”:{“error”:“unknown method”,“message”:“Not implemented yet for pageLoad.”,“stacktrace”:"NotImplementedError: Not implemented yet for pageLoad.

I am using below configurations:

Appium - v2.2.1 with [email protected]

java-client - 8.5.1

selenium-java - 4.10.0

cucumber-java - 7.0.0

cucumber-testng - 7.11.2

Can you help on implementing pageLoadTimeout ?

@mykola-mokhnach / @Randy_Harsh any update on this?

Not everything that works in selenium web environment makes sense for Appium mobile drivers or can be implemented there. The above feature is a good example of such entity.