I want to let selenium write the text and press the enter button as a open file dialog box is shown

I wrote below code.

Firstly below code shows the website and nextly shows the open file dialog box.

I know that .sendkeys(),.click() need such as "element" like below. But I want to use those functions with no "element".

Because after element.click() is done,"element" has no relation with new dialog box and,just typing the text and press enter button is enough to accomplish my objective.

from selenium import webdriver
import time
options = webdriver.ChromeOptions()
options.add_experimental_option('prefs', {'intl.accept_languages': 'en_US'})   
driver = webdriver.Chrome(chrome_options=options)
driver.get('https://pdf2jpg.net/')
element=driver.find_element_by_id("advanced_pdf_file")
element.click()

How do I implement it?.