Documentation ¶
Index ¶
- type Session
- func (s *Session) AddTab() (context.Context, context.CancelFunc)
- func (s *Session) ApplySettings(ctx context.Context) error
- func (s *Session) Login(ctx context.Context) error
- func (s *Session) NewContext() (context.Context, context.CancelFunc)
- func (s *Session) Open(ctx context.Context, meetURI string) error
- func (s *Session) Shutdown()
- func (s *Session) Wait(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
*
- always give credit: https://github.com/perkeep/gphotos-cdp adaption
func NewSession ¶
NewSession a session to control the browser creation, creates a new browser if one is not running
func (*Session) AddTab ¶
func (s *Session) AddTab() (context.Context, context.CancelFunc)
AddTab return another tab to navigate to
func (*Session) ApplySettings ¶
ApplySettings applies the preferences saved by the user such as shutting off mute and
func (*Session) Login ¶
login navigates to https://photos.google.com/ and waits for the user to have authenticated (or for 2 minutes to have elapsed).
func (*Session) NewContext ¶
func (s *Session) NewContext() (context.Context, context.CancelFunc)
Build a NewSession to open a meet uri
Click to show internal directories.
Click to hide internal directories.