Using a Java library with Scala reserved words
-
22-09-2019 - |
문제
I'm using an external library written in Java (Selenium). One of the function calls has the signature type(String, String)
, and I keep getting compiler errors when trying to call it from Scala, that is:
selenium.type("ab","abc")
Is there a workaround for this issue?
해결책
selenium.`type`("ab","abc")
제휴하지 않습니다 StackOverflow