Hello!
Sory for my English, i'am from Russia

Please, Help Me...

There is such code:

#coding:utf-8

import wx
import sys
import time
import cefpython

class MainFrame(wx.Frame):

    browser = None

    def __init__(self):
        wx.Frame.__init__(self, parent=None, id=wx.ID_ANY, title='wxPython example', size=(1000,800))
        self.browser = cefpython.CreateBrowser(self.GetHandle(), browserSettings={}, navigateURL="http://google.com")        


class MyApp(wx.App):
    timer = None
    timerID = 1

    def OnInit(self):
        cefpython.Initialize()
        sys.excepthook = cefpython.ExceptHook

        self.timer = wx.Timer(self, self.timerID)
        self.timer.Start(10) # 10ms
        wx.EVT_TIMER(self, self.timerID, self.OnTimer)

        frame = MainFrame()
        self.SetTopWindow(frame)
        frame.Show()

        return True

    def OnTimer(self, event):

        cefpython.SingleMessageLoop()

app = MyApp()
app.MainLoop()

How in this code to automate data entry into the search box?

l see nothing about search in your code.

This code opens a page Google, I need to insert any word in the search box automatically

I dont know wx and dont know how to fill searchbox :D but for searching a word or words u can add queries to google address:

www.google.com/search?q=SEARCH+WORDS
query = 'what is Python'
search_google = 'www.google.com/search?q=%s'%query

google is an example
I need to programmatically manage my browser

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.