Amber Heard has denied having an affair with entrepreneur Elon Musk or actor James Franco while she was married to Johnny Depp.
Depp, 57, is suing News Group Newspapers, publishers of The Sun newspaper, over a 2018 article which referred to him as a "wife beater" and questioned whether J K Rowling should have agreed to him being cast in the Fantastic Beasts film franchise.
On Tuesday, 21 July, Heard denied she had fabricated injuries, including a bruised face.
In the witness box Heard, 34, said: "Of course I had an injury.''
She claimed the Pirates of the Caribbean star attacked her on at least 14 occasions and threatened to kill her many times, often as a result of jealousy and suspicions about her infidelity.
Depp denies hitting her and says her claims of violence were a hoax.
Heard claimed Depp became violent after she exchanged text messages with Musk - the founder of Tesla and SpaceX - in May 2016. She claims he threw a cellphone at her, hitting her in the eye and then smashed up their penthouse apartment.
In court on Tuesday Depp’s lawyer, Eleanor Laws QC, asked Heard if she had an affair with Musk or anyone else.
"No, not that that matters much," she replied.
The court was shown CCTV footage of Heard inviting actor James Franco up to the penthouse the following evening.
"He was saying to me 'Oh my god, what happened to you?'," Heard told the court.
Depp's lawyer read out a text message from Elon Musk in which he had offered to "arrange 24/7 security" for Heard and added: "The offer would stand, even if you never wanted to see me again...anyway, sorry for being an idiot. The radio silence hurts a lot. It only matters because I really like you."
Ms Laws then reminded Heard of the evidence given by Alejandro Romero, a concierge at the couple's building, who said he saw Musk visiting Heard in 2015 "when Mr Depp was in Australia."
Heard claimed Mr Romero was "wrong" and said she had nothing to do with him prior to 2016.
The judge, Mr Justice Andrew Nicol, told Ms Laws he did not believe evidence about jealousy would influence his final judgement.
Ms Laws said staff at the penthouse had not seen any marks on Heard in the days after the incident but the actress insisted she did have visible injuries.
Later Heard admitted she punched Depp once but said it was because she feared he was going to push her sister Whitney down some stairs as she alleged he had done to a former girlfriend.
She said: "He was about to push her down the stairs and the moment that happened I remembered information I had heard he pushed a former girlfriend - I believe it was Kate Moss - down the stairs."
Ms Laws pointed out Heard had never mentioned this incident before in any of her statements and accused her of changing her testimony.
"I have never changed my story," replied Heard, who admitted she had not mentioned the incident previously.
Depp's former girlfriends Winona Ryder and Vanessa Paradis have given statements that Depp was never violent to them and Ms Moss has not been called as a witness by The Sun, who deny defaming Depp.
Ms Laws doubted Heard's version of another incident in which she said Depp had grabbed her hair with one hand and punched her with the other, and pointed out his hand was in a cast at the time.
When Heard said Depp had hit her with the cast, Ms Laws said: "You are just making this up as you go along."
Heard replied: "I didn't include every detail or every thought."
The trial, which was postponed from March because of the coronavirus pandemic, is due to end next week.