Extract number from a string

Hi hmaraj,

Sorry late response… Quite busy on my work.

You can try this approach:

Try to explore and play with it, do some refactoring something like:

import org.openqa.selenium.WebDriver as WebDriver
import com.kms.katalon.core.webui.driver.DriverFactory
import org.openqa.selenium.By

WebDriver driver = DriverFactory.getWebDriver()
WebElement element = driver.findElements(By.tagName("<br>"))

I have a feeling that since it doesn’t have any objects, TagName is your key.

Try it.

Hope that helps. . .:slight_smile:

1 Like