How to tap (go into) TableViewCell

Hi, new to appium and I’m trying to get some data from inside TableViewCells
for example if I want the Serial Number of the phone I need to go Settings::General::About::Serial Number to get the value

My idea is first get the location of TableViewCell by
loc = find_element(:name, 'General).location_rel (in Ruby) and pass it to something like
tap(loc.x, loc.y), but just couldn’t figure it out.

Is there any better way to do this ?

Thanks for the help .

you need to use touchaction
TouchAction t = new TouchAction(driver);

t.press(p.x,p.y).moveTo(p.x+381, p.y).release().perform();