Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34576 > unrolled thread

Re: open URL in the current tab

Started byBoris FELD <lothiraldan@gmail.com>
First post2012-12-10 23:43 +0100
Last post2012-12-10 23:43 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: open URL in the current tab Boris FELD <lothiraldan@gmail.com> - 2012-12-10 23:43 +0100

#34576 — Re: open URL in the current tab

FromBoris FELD <lothiraldan@gmail.com>
Date2012-12-10 23:43 +0100
SubjectRe: open URL in the current tab
Message-ID<mailman.689.1355179454.29569.python-list@python.org>
Don't think that it's possible with webbrowser, you should try with Selenium.

For example with sst (Simple Selenium Test), it open url in current
tab or create a new one if no one exists:

from sst.actions import *
go_to('http://www.ubuntu.com/')

2012/12/10 Jabba Laci <jabba.laci@gmail.com>:
> Hi,
>
> With the webbrowser module you can open a URL in a new tab. But how
> could I tell Firefox from Python to open a URL in the _current_ tab?
>
> Thanks,
>
> Laszlo
> --
> http://mail.python.org/mailman/listinfo/python-list

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web