Add the Japanese translation of SeleniumBase
- Adding SeleniumBase methods in Japanese
- Also updating the Chinese translation
- Add an example test in Japanese
Here's what the example test in Japanese looks like:
from seleniumbase.translate.japanese import セレンテストケース
class テストクラス(セレンテストケース):
def test_例1(self):
self.URLを開く("https://ja.wikipedia.org/wiki/")
self.テキストを確認する("ウィキペディア")
self.要素を確認する('[title="メインページに移動する"]')
self.テキストを更新("#searchInput", "アニメ")
self.クリックして("#searchButton")
self.テキストを確認する("アニメ", "#firstHeading")
self.テキストを更新("#searchInput", "寿司")
self.クリックして("#searchButton")
self.テキストを確認する("寿司", "#firstHeading")
self.要素を確認する('img[alt="握り寿司"]')