Answer the question
In order to leave comments, you need to log in
How to open a separate chrome tab using python language?
Hey! It is interesting to know how through python WITHOUT SELENIUM to open a google chrome tab with launch options -app=" localhost:5000 ". That is, in selenium it looks something like this
url = "http://localhost:5000/"
opt = webdriver.ChromeOptions()
opt.add_argument("-app=" + url)
opt.add_argument(f"--window-size=1280,720")
opt.add_argument("--window-position={},{}".format(cx, cy))
w = webdriver.Chrome(options=opt, keep_alive=True)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question