Can't understand the Python inheritance?

Good day please help. How can I access the method in the file (find_element_by_xpath()) using in-house test ( calling the method in the test of the so (
element_1 = self.oHelper.driver.find_element_by_xpath("/html/body/div[1]/div[3]/div[2]/div[1]/div[2]/div/div[1]/div[1]/div[2]/div[2]/div/div[2]/select/option[4]")
) In this case, to obtain the object via xpath in the current test instance without creating a new window? After in the test should click on received by the XPath element

There are files:
- it identifies find_element_by_xpath()
there zainordin (import webdriver) and determined the driver of the browser (
self.driver = webdriver.Firefox(firefox_options=options, executable_path=driver_path, log_path=log_path
here is drawn a test here is defined WebApp()
from tir.technologies.core.language import LanguagePack
from tir import Webapp
from tir.technologies.core.base import Base
import from tir Apw
from bs4 import BeautifulSoup
from tir.technologies.core import enumerations
import unittest

class MATA440(unittest.TestCase):

 def setUpClass(inst):
 inst.oHelper = Webapp()
 inst.oBase = Base()
 #inst.oApw = Apw()
 inst.oHelper.Setup('SIGAADV', '06/08/2019', '00', '102030', '01')

 def test_MATA455_CT001(self):
 self.oHelper.ClickLabel("OMS - management of the distribution em (1)")
 self.oHelper.ClickLabel("Orders (1)")
 self.oHelper.ClickLabel("Statement of reserves")
 self.oHelper.ClickComboBox (label_comboBox_name = "No restrictions", position=1)
 #the sequence number in the combobox
 #indexCombo = '4

 #the path to the combobox
 #parameter index - the ordinal number of the row in the combobox on the screen
 element_1 = self.oHelper.driver.find_element_by_xpath("/html/body/div[1]/div[3]/div[2]/div[1]/div[2]/div/div[1]/div[1]/div[2]/div[2]/div/div[2]/select/option[4]") (element = element_1, click_type = enumerations.ClickType.SELENIUM)

 self.oHelper.SetButton(button = "OK")

 def tearDownClass(inst):

if __name__ == '__main__':
March 25th 20 at 13:45
1 answer
March 25th 20 at 13:47
little text

if not resolved - give the first question separately

Find more questions by tags SeleniumPython